Merge pull request #54883 from dtzWill/feature/crex

crex: init at 0.2.5
This commit is contained in:
Will Dietz 2019-01-31 06:27:33 -06:00 committed by GitHub
commit 80e387a409
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 0 deletions

View File

@ -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;
};
}

View File

@ -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 { };