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 /pkgs/tools/misc/crex | |
parent | a98cebbc35278a8c92e0cb6f0c2813d814b25499 (diff) | |
download | nixlib-59677054d3153e1ac0c20d4f4097412514a46e19.tar nixlib-59677054d3153e1ac0c20d4f4097412514a46e19.tar.gz nixlib-59677054d3153e1ac0c20d4f4097412514a46e19.tar.bz2 nixlib-59677054d3153e1ac0c20d4f4097412514a46e19.tar.lz nixlib-59677054d3153e1ac0c20d4f4097412514a46e19.tar.xz nixlib-59677054d3153e1ac0c20d4f4097412514a46e19.tar.zst nixlib-59677054d3153e1ac0c20d4f4097412514a46e19.zip |
crex: init at 0.2.5
(promoting from my NUR repo)
Diffstat (limited to 'pkgs/tools/misc/crex')
-rw-r--r-- | pkgs/tools/misc/crex/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/tools/misc/crex/default.nix b/pkgs/tools/misc/crex/default.nix new file mode 100644 index 000000000000..da644e9622b3 --- /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; + }; +} |