2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake }:
|
2019-01-29 13:01:17 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-01-29 14:47:16 +00:00
|
|
|
description = "Explore, test, and check regular expressions in the terminal";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://octobanana.com/software/crex";
|
2019-01-29 13:01:17 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ dtzWill ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|