mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-06 21:42:35 +03:00
Merge pull request #54883 from dtzWill/feature/crex
crex: init at 0.2.5
This commit is contained in:
commit
80e387a409
28
pkgs/tools/misc/crex/default.nix
Normal file
28
pkgs/tools/misc/crex/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user