diff options
author | pblkt <pblkt@users.noreply.github.com> | 2020-08-21 21:27:12 +0300 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2020-08-21 12:06:25 -0700 |
commit | a2780ce65a64eb4477b1df15868416c4c12a9267 (patch) | |
tree | 45c7299883ef70f4a2d782383bf44087e2ebc7a4 /pkgs/tools/misc/rargs | |
parent | 3ff786a091d846c0d0332fa3e0919cf98556966f (diff) |
rargs: init at 0.3.0
Diffstat (limited to 'pkgs/tools/misc/rargs')
-rw-r--r-- | pkgs/tools/misc/rargs/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/tools/misc/rargs/default.nix b/pkgs/tools/misc/rargs/default.nix new file mode 100644 index 0000000000000..6ebbeb39c6e07 --- /dev/null +++ b/pkgs/tools/misc/rargs/default.nix @@ -0,0 +1,24 @@ +{ stdenv, rustPlatform, fetchFromGitHub }: + +rustPlatform.buildRustPackage rec { + pname = "rargs"; + version = "0.3.0"; + + src = fetchFromGitHub { + owner = "lotabout"; + repo = pname; + rev = "v${version}"; + sha256 = "188gj05rbivci1z4z29vwdwxlj2w01v5i4avwrxjnj1dd6mmlbxd"; + }; + + cargoSha256 = "0qzkhx0n28f5wy4fral3adn499q3f10q71cd544s4ghqwqn4khc9"; + + doCheck=false; # `rargs`'s test depends on the deprecated `assert_cli` crate, which in turn is not in Nixpkgs + + meta = with stdenv.lib; { + description = "xargs + awk with pattern matching support"; + homepage = "https://github.com/lolabout/rargs"; + license = with licenses; [ mit ]; + maintainers = with maintainers; [ pblkt ]; + }; +} |