8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
27 lines
676 B
Nix
27 lines
676 B
Nix
{ stdenv, fetchFromGitHub, cmake }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
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;
|
|
};
|
|
}
|