nixpkgs/pkgs/development/tools/misc/epm/default.nix

28 lines
665 B
Nix
Raw Normal View History

2017-12-13 10:20:28 +00:00
{stdenv, fetchFromGitHub, rpm}:
2014-10-08 07:15:19 +00:00
stdenv.mkDerivation rec {
pname = "epm";
2017-12-13 10:20:28 +00:00
version = "4.4";
2017-12-13 10:20:28 +00:00
src = fetchFromGitHub {
repo = "epm";
owner = "michaelrsweet";
rev = "v${version}";
sha256 = "0kaw7v2m20qirapkps4dna6nf9xibnwljvvv0l9vpvi920kw7j7p";
};
2014-10-08 07:15:19 +00:00
buildInputs = [ rpm ];
2017-12-13 10:20:28 +00:00
preInstall = ''
sed -i 's/README/README.md/' Makefile
'';
2014-10-08 07:15:19 +00:00
meta = with stdenv.lib; {
description = "The ESP Package Manager generates distribution archives for a variety of platforms";
homepage = "https://www.msweet.org/projects.php?Z2";
2014-10-08 07:15:19 +00:00
license = licenses.gpl2;
maintainers = with maintainers; [ pSub ];
platforms = platforms.unix;
};
}