diff options
author | Stig P <stig@stig.io> | 2020-09-12 11:49:48 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-12 11:49:48 +0000 |
commit | 0527aaa44708c0a56417868e4db881b5d4fffb74 (patch) | |
tree | 723e12dee8512dc01441f615ca04d686b92bfd88 /pkgs/tools | |
parent | bfebffbd9cec246963aec12a34b96c24edca53f8 (diff) | |
parent | 8382b690af3f1620c07293f1b9ab93a9af96900e (diff) |
Merge pull request #97812 from Sohalt/choose
choose: init at 1.3.1
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/text/choose/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/tools/text/choose/default.nix b/pkgs/tools/text/choose/default.nix new file mode 100644 index 0000000000000..26192732511f7 --- /dev/null +++ b/pkgs/tools/text/choose/default.nix @@ -0,0 +1,25 @@ +{ stdenv +, fetchFromGitHub +, rustPlatform +}: + +rustPlatform.buildRustPackage rec { + pname = "choose"; + version = "1.3.1"; + + src = fetchFromGitHub { + owner = "theryangeary"; + repo = pname; + rev = "v${version}"; + sha256 = "0j3861pxqw0lnamb201c7h5w7npzyiwwb6c1xzxjv72m2ccvz76j"; + }; + + cargoSha256 = "1p18926pfff1yayb2i28v0nz37j52hqqv7244yfrzgidi29kyvbc"; + + meta = with stdenv.lib; { + description = "A human-friendly and fast alternative to cut and (sometimes) awk"; + homepage = "https://github.com/theryangeary/choose"; + license = licenses.gpl3; + maintainers = with maintainers; [ sohalt ]; + }; +} |