mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
7d83f048e2
fixes cdemu for kernel >= 4.11 fixes client by adding pygobject3
16 lines
488 B
Nix
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"
|
|
'';
|
|
};
|
|
}
|