diff options
author | Will Dietz <w@wdtz.org> | 2019-01-29 07:01:17 -0600 |
---|---|---|
committer | Will Dietz <w@wdtz.org> | 2019-01-29 07:01:17 -0600 |
commit | 59677054d3153e1ac0c20d4f4097412514a46e19 (patch) | |
tree | a80f800dcae5d00444f89a3f554ce698982f6a0f | |
parent | a98cebbc35278a8c92e0cb6f0c2813d814b25499 (diff) | |
download | nixpkgs-59677054d3153e1ac0c20d4f4097412514a46e19.tar nixpkgs-59677054d3153e1ac0c20d4f4097412514a46e19.tar.gz nixpkgs-59677054d3153e1ac0c20d4f4097412514a46e19.tar.bz2 nixpkgs-59677054d3153e1ac0c20d4f4097412514a46e19.tar.lz nixpkgs-59677054d3153e1ac0c20d4f4097412514a46e19.tar.xz nixpkgs-59677054d3153e1ac0c20d4f4097412514a46e19.tar.zst nixpkgs-59677054d3153e1ac0c20d4f4097412514a46e19.zip |
crex: init at 0.2.5
(promoting from my NUR repo)
-rw-r--r-- | pkgs/tools/misc/crex/default.nix | 28 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/tools/misc/crex/default.nix b/pkgs/tools/misc/crex/default.nix new file mode 100644 index 00000000000..da644e9622b --- /dev/null +++ b/pkgs/tools/misc/crex/default.nix @@ -0,0 +1,28 @@ +{ stdenv, fetchFromGitHub, cmake }: + +stdenv.mkDerivation rec { + name = "${pname}-${version}"; + pname = "crex"; + version = "0.2.5"; + + src = fetchFromGitHub { + owner = "octobanana"; + repo = "crex"; + rev = version; + sha256 = "086rvwl494z48acgsq3yq11qh1nxm8kbf11adn16aszai4d4ipr3"; + }; + + postPatch = '' + substituteInPlace CMakeLists.txt --replace "/usr/local/bin" "bin" + ''; + + nativeBuildInputs = [ cmake ]; + + meta = with stdenv.lib; { + description = "Explore, test, and check regular expressions in the terminal."; + homepage = https://octobanana.com/software/crex; + license = licenses.mit; + maintainers = with maintainers; [ dtzWill ]; + platforms = platforms.all; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 285ed3b7545..c8e476136ae 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1185,6 +1185,8 @@ in cppclean = callPackage ../development/tools/cppclean {}; + crex = callPackage ../tools/misc/crex { }; + cri-tools = callPackage ../tools/virtualization/cri-tools {}; crip = callPackage ../applications/audio/crip { }; |