about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/misc/epm/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/tools/misc/epm/default.nix')
-rw-r--r--nixpkgs/pkgs/development/tools/misc/epm/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/tools/misc/epm/default.nix b/nixpkgs/pkgs/development/tools/misc/epm/default.nix
new file mode 100644
index 000000000000..b449c0a2d010
--- /dev/null
+++ b/nixpkgs/pkgs/development/tools/misc/epm/default.nix
@@ -0,0 +1,27 @@
+{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 stdenv.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;
+  };
+}