makerpm: init at 1.0

This commit is contained in:
tkatchev 2016-12-30 22:22:15 +03:00
parent 3dbf6b4a09
commit 4073aaa7e1
3 changed files with 31 additions and 0 deletions

View File

@ -201,6 +201,7 @@
ianwookim = "Ian-Woo Kim <ianwookim@gmail.com>";
igsha = "Igor Sharonov <igor.sharonov@gmail.com>";
ikervagyok = "Balázs Lengyel <ikervagyok@gmail.com>";
ivan-tkatchev = "Ivan Tkatchev <tkatchev@gmail.com>";
j-keck = "Jürgen Keck <jhyphenkeck@gmail.com>";
jagajaga = "Arseniy Seroka <ars.seroka@gmail.com>";
javaguirre = "Javier Aguirre <contacto@javaguirre.net>";

View File

@ -0,0 +1,28 @@
{ stdenv, fetchFromGitHub, zlib, libarchive, openssl }:
stdenv.mkDerivation rec {
version = "1.0";
name = "makerpm-${version}";
installPhase = ''
mkdir -p $out/bin
cp makerpm $out/bin
'';
buildInputs = [ zlib libarchive openssl ];
src = fetchFromGitHub {
owner = "ivan-tkatchev";
repo = "makerpm";
rev = "${version}";
sha256 = "089dkbh5705ppyi920rd0ksjc0143xmvnhm8qrx93rsgwc1ggi1y";
};
meta = with stdenv.lib; {
homepage = https://github.com/ivan-tkatchev/makerpm/;
description = "A clean, simple RPM packager reimplemented completely from scratch";
license = licenses.free;
platforms = platforms.all;
maintainers = [ maintainers.ivan-tkatchev ];
};
}

View File

@ -2712,6 +2712,8 @@ in
makemkv = callPackage ../applications/video/makemkv { };
makerpm = callPackage ../development/tools/makerpm { };
# See https://github.com/NixOS/nixpkgs/issues/15849. I'm switching on isLinux because
# it looks like gnulib is broken on non-linux, so it seems likely that this would cause
# trouble on bsd and/or cygwin as well.