5ca88bfbb9
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
25 lines
740 B
Nix
25 lines
740 B
Nix
{ lib, rustPlatform, fetchFromGitHub }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "rargs";
|
|
version = "0.3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "lotabout";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "188gj05rbivci1z4z29vwdwxlj2w01v5i4avwrxjnj1dd6mmlbxd";
|
|
};
|
|
|
|
cargoHash = "sha256-cPfuABjn62Wuxtk8nQlGcLpiPe7/kqNr4IZ7+W8jzaM=";
|
|
|
|
doCheck=false; # `rargs`'s test depends on the deprecated `assert_cli` crate, which in turn is not in Nixpkgs
|
|
|
|
meta = with lib; {
|
|
description = "xargs + awk with pattern matching support";
|
|
homepage = "https://github.com/lolabout/rargs";
|
|
license = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ pblkt ];
|
|
mainProgram = "rargs";
|
|
};
|
|
}
|