2016-12-30 19:22:15 +00:00
|
|
|
{ stdenv, fetchFromGitHub, zlib, libarchive, openssl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "1.0";
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "makerpm";
|
2016-12-30 19:22:15 +00:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp makerpm $out/bin
|
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = [ zlib libarchive openssl ];
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ivan-tkatchev";
|
|
|
|
repo = "makerpm";
|
2019-09-08 23:38:31 +00:00
|
|
|
rev = version;
|
2016-12-30 19:22:15 +00:00
|
|
|
sha256 = "089dkbh5705ppyi920rd0ksjc0143xmvnhm8qrx93rsgwc1ggi1y";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/ivan-tkatchev/makerpm/";
|
2016-12-30 19:22:15 +00:00
|
|
|
description = "A clean, simple RPM packager reimplemented completely from scratch";
|
|
|
|
license = licenses.free;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.ivan-tkatchev ];
|
|
|
|
};
|
|
|
|
}
|