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