diff options
author | sohalt <sohalt@sohalt.net> | 2020-09-12 00:33:07 +0200 |
---|---|---|
committer | sohalt <sohalt@sohalt.net> | 2020-09-12 00:36:16 +0200 |
commit | 8382b690af3f1620c07293f1b9ab93a9af96900e (patch) | |
tree | 04c74ba9b1d35b6273678303ff356ba81e618c50 /pkgs/tools/text/choose | |
parent | e0759a49733dfc3aa225b8a7423c00da6e1ecb67 (diff) |
choose: init at 1.3.1
Diffstat (limited to 'pkgs/tools/text/choose')
-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 000000000000..26192732511f --- /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 ]; + }; +} |