Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchFromGitHub, zlib, libarchive, openssl }: 2 3stdenv.mkDerivation rec { 4 version = "1.0"; 5 pname = "makerpm"; 6 7 installPhase = '' 8 mkdir -p $out/bin 9 cp makerpm $out/bin 10 ''; 11 12 buildInputs = [ zlib libarchive openssl ]; 13 14 src = fetchFromGitHub { 15 owner = "ivan-tkatchev"; 16 repo = "makerpm"; 17 rev = version; 18 sha256 = "089dkbh5705ppyi920rd0ksjc0143xmvnhm8qrx93rsgwc1ggi1y"; 19 }; 20 21 meta = with lib; { 22 homepage = "https://github.com/ivan-tkatchev/makerpm/"; 23 description = "A clean, simple RPM packager reimplemented completely from scratch"; 24 license = licenses.free; 25 platforms = platforms.all; 26 maintainers = [ maintainers.ivan-tkatchev ]; 27 }; 28}