Merge pull request #100173 from SuperSandro2000/grex
grex: init at 1.1.0
This commit is contained in:
commit
7128fcea5a
35
pkgs/tools/misc/grex/default.nix
Normal file
35
pkgs/tools/misc/grex/default.nix
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
{ stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
|
, rustPlatform
|
||||||
|
, darwin
|
||||||
|
, libiconv
|
||||||
|
}:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "grex";
|
||||||
|
version = "1.1.0";
|
||||||
|
|
||||||
|
cargoSha256 = "0kf2n2j7kfrfzid1h2gd0qf53fah0hpyrrlh2k5vrhd0panv3bwc";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "pemistahl";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1viph7ki6f2akc5mpbgycacndmxnv088ybfji2bfdbi5jnpyavvs";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
|
||||||
|
|
||||||
|
doInstallCheck = true;
|
||||||
|
installCheckPhase = ''
|
||||||
|
$out/bin/grex --help > /dev/null
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A command-line tool for generating regular expressions from user-provided test cases";
|
||||||
|
homepage = "https://github.com/pemistahl/grex";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||||
|
};
|
||||||
|
}
|
@ -1098,6 +1098,8 @@ in
|
|||||||
|
|
||||||
gremlin-console = callPackage ../applications/misc/gremlin-console { };
|
gremlin-console = callPackage ../applications/misc/gremlin-console { };
|
||||||
|
|
||||||
|
grex = callPackage ../tools/misc/grex { };
|
||||||
|
|
||||||
gcsfuse = callPackage ../tools/filesystems/gcsfuse { };
|
gcsfuse = callPackage ../tools/filesystems/gcsfuse { };
|
||||||
|
|
||||||
glyr = callPackage ../tools/audio/glyr { };
|
glyr = callPackage ../tools/audio/glyr { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user