nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at litex 24 lines 716 B view raw
1{ lib, rustPlatform, fetchFromGitHub }: 2 3rustPlatform.buildRustPackage rec { 4 pname = "rargs"; 5 version = "0.3.0"; 6 7 src = fetchFromGitHub { 8 owner = "lotabout"; 9 repo = pname; 10 rev = "v${version}"; 11 sha256 = "188gj05rbivci1z4z29vwdwxlj2w01v5i4avwrxjnj1dd6mmlbxd"; 12 }; 13 14 cargoSha256 = "18yd4dpzjyw6w1ms74pzxqyn5fkh8q4rsg6rqsp6bsz7300fxxvh"; 15 16 doCheck=false; # `rargs`'s test depends on the deprecated `assert_cli` crate, which in turn is not in Nixpkgs 17 18 meta = with lib; { 19 description = "xargs + awk with pattern matching support"; 20 homepage = "https://github.com/lolabout/rargs"; 21 license = with licenses; [ mit ]; 22 maintainers = with maintainers; [ pblkt ]; 23 }; 24}