mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 00:33:10 +00:00
c50468a01e
Thanks! Co-Authored-By: dtzWill <github@wdtz.org>
29 lines
706 B
Nix
29 lines
706 B
Nix
{ 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;
|
|
};
|
|
}
|