python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / misc / crex / default.nix
blob14d462e8e6e4231626697787f9b2968cff99b128
1 { lib, stdenv, fetchFromGitHub, cmake }:
3 stdenv.mkDerivation rec {
4   pname = "crex";
5   version = "0.2.5";
7   src = fetchFromGitHub {
8     owner = "octobanana";
9     repo = "crex";
10     rev = version;
11     sha256 = "086rvwl494z48acgsq3yq11qh1nxm8kbf11adn16aszai4d4ipr3";
12   };
14   postPatch = ''
15     substituteInPlace CMakeLists.txt --replace "/usr/local/bin" "bin"
16   '';
18   nativeBuildInputs = [ cmake ];
20   meta = with lib; {
21     description = "Explore, test, and check regular expressions in the terminal";
22     homepage = "https://octobanana.com/software/crex";
23     license = licenses.mit;
24     maintainers = with maintainers; [ dtzWill ];
25     platforms = platforms.all;
26   };