2019-09-26 09:16:23 +01:00
|
|
|
{ stdenv, fetchFromGitHub }:
|
2017-04-16 11:02:25 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "clac";
|
2017-06-29 03:44:42 +01:00
|
|
|
version = "0.0.0.20170503";
|
2017-04-16 11:02:25 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "soveran";
|
|
|
|
repo = "clac";
|
2017-06-29 03:44:42 +01:00
|
|
|
rev = "e92bd5cbab0d694cef945e3478820c9505e06f04";
|
|
|
|
sha256 = "0j8p1npgq32s377c9lw959h5i2csq4yb27cvg7av17bji46816bv";
|
2017-04-16 11:02:25 +01:00
|
|
|
};
|
|
|
|
|
2019-09-26 09:16:23 +01:00
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
2017-04-16 11:02:25 +01:00
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
mkdir -p "$out/share/doc/${pname}"
|
|
|
|
cp README* LICENSE "$out/share/doc/${pname}"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
inherit version;
|
|
|
|
description = "Interactive stack-based calculator";
|
|
|
|
license = stdenv.lib.licenses.bsd2;
|
|
|
|
maintainers = [stdenv.lib.maintainers.raskin];
|
2017-05-11 22:29:52 +01:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/soveran/clac";
|
2017-04-16 11:02:25 +01:00
|
|
|
};
|
|
|
|
}
|