1 { lib, stdenv, fetchFromGitHub }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "rsag8MWl/udwXC0Gj864fAuQ6ts1gzrN2N/zelazqjE=";
14 makeFlags = [ "PREFIX=$(out)" ];
17 mkdir -p "$out/share/doc/${pname}"
18 cp README* LICENSE "$out/share/doc/${pname}"
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;