summary refs log tree commit diff
path: root/pkgs/development/tools/misc/epm/default.nix
blob: 8f5921783e249b771f5d49fa5c9611ab24527749 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{lib, stdenv, fetchFromGitHub, rpm}:

stdenv.mkDerivation rec {
  pname = "epm";
  version = "4.4";

  src = fetchFromGitHub {
    repo = "epm";
    owner = "michaelrsweet";
    rev = "v${version}";
    sha256 = "0kaw7v2m20qirapkps4dna6nf9xibnwljvvv0l9vpvi920kw7j7p";
  };

  buildInputs = [ rpm ];

  preInstall = ''
    sed -i 's/README/README.md/' Makefile
  '';

  meta = with lib; {
    description = "The ESP Package Manager generates distribution archives for a variety of platforms";
    homepage = "https://www.msweet.org/projects.php?Z2";
    license = licenses.gpl2;
    maintainers = with maintainers; [ pSub ];
    platforms = platforms.unix;
  };
}