2017-04-16 12:02:25 +02:00
|
|
|
{stdenv, fetchFromGitHub}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
pname = "clac";
|
|
|
|
version = "0.0.0.20170416";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "soveran";
|
|
|
|
repo = "clac";
|
|
|
|
rev = "828600b01e80166bc435d4d73506f0c3e16f2459";
|
|
|
|
sha256 = "08fhhvjrc7rn5fjjdqlallr76m6ybj3wm5gx407jbgfbky0fj7mb";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [];
|
|
|
|
makeFlags = ["PREFIX=$(out)"];
|
|
|
|
|
|
|
|
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 23:29:52 +02:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2017-04-16 12:02:25 +02:00
|
|
|
homepage = "https://github.com/soveran/clac";
|
|
|
|
};
|
|
|
|
}
|