3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/misc/clac/default.nix
Silvan Mosberger f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00

31 lines
776 B
Nix

{stdenv, fetchFromGitHub}:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "clac";
version = "0.0.0.20170503";
src = fetchFromGitHub {
owner = "soveran";
repo = "clac";
rev = "e92bd5cbab0d694cef945e3478820c9505e06f04";
sha256 = "0j8p1npgq32s377c9lw959h5i2csq4yb27cvg7av17bji46816bv";
};
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];
platforms = stdenv.lib.platforms.unix;
homepage = https://github.com/soveran/clac;
};
}