python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / misc / clac / default.nix
blobacf9b6b867de3dd43934b597e77fa068b3d80da9
1 { lib, stdenv, fetchFromGitHub }:
3 stdenv.mkDerivation rec {
4   pname = "clac";
5   version = "0.3.3";
7   src = fetchFromGitHub {
8     owner = "soveran";
9     repo = "clac";
10     rev = version;
11     sha256 = "rsag8MWl/udwXC0Gj864fAuQ6ts1gzrN2N/zelazqjE=";
12   };
14   makeFlags = [ "PREFIX=$(out)" ];
16   postInstall = ''
17     mkdir -p "$out/share/doc/${pname}"
18     cp README* LICENSE "$out/share/doc/${pname}"
19   '';
21   meta = with lib; {
22     description = "Interactive stack-based calculator";
23     homepage = "https://github.com/soveran/clac";
24     license = licenses.bsd2;
25     maintainers = with maintainers; [ raskin ];
26     platforms = platforms.unix;
27   };