Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
29 lines
731 B
Nix
29 lines
731 B
Nix
{ lib, stdenv, fetchFromGitHub, zlib, libarchive, openssl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "1.0";
|
|
pname = "makerpm";
|
|
|
|
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 lib; {
|
|
homepage = "https://github.com/ivan-tkatchev/makerpm/";
|
|
description = "Clean, simple RPM packager reimplemented completely from scratch";
|
|
mainProgram = "makerpm";
|
|
license = licenses.free;
|
|
platforms = platforms.all;
|
|
maintainers = [ maintainers.ivan-tkatchev ];
|
|
};
|
|
}
|