nixpkgs/pkgs/misc/emulators/cdemu/client.nix
Herwig Hochleitner 7d83f048e2 cdemu: 3.0.x -> 3.1.0
fixes cdemu for kernel >= 4.11
fixes client by adding pygobject3
2017-07-25 11:56:59 +02:00

16 lines
488 B
Nix

{ callPackage, pythonPackages, intltool, makeWrapper }:
let pkg = import ./base.nix {
version = "3.1.0";
pkgName = "cdemu-client";
pkgSha256 = "0s6q923g5vkahw5fki6c7a25f68y78zfx4pfsy0xww0z1f5hfsik";
};
in callPackage pkg {
buildInputs = [ pythonPackages.python pythonPackages.dbus-python pythonPackages.pygobject3
intltool makeWrapper ];
drvParams = {
postFixup = ''
wrapProgram $out/bin/cdemu \
--set PYTHONPATH "$PYTHONPATH"
'';
};
}