Merge pull request #21529 from ivan-tkatchev/master

makerpm: init at 1.0
This commit is contained in:
Daiderd Jordan 2016-12-31 21:35:14 +01:00 committed by GitHub
commit 6e6334a514
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

@ -2714,6 +2714,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.