blob: bee5a71333a7957d063bc23d23905aa843fde4c6 (
plain) (
tree)
|
|
{ stdenv, fetchurl, rpm, cpio, substituteAll }:
stdenv.mkDerivation rec {
name = "rpmextract";
builder = builtins.toFile "builder.sh" ''
source $stdenv/setup
install -Dm755 $script $out/bin/rpmextract
'';
script = substituteAll {
src = ./rpmextract.sh;
inherit rpm cpio;
};
meta = with stdenv.lib; {
description = "Script to extract RPM archives";
platforms = platforms.all;
license = licenses.gpl2;
maintainers = maintainers.abbradar;
};
}
|