about summary refs log tree commit diff
path: root/pkgs/applications/emulators/cdemu/client.nix
blob: 2e301a115c9a29dc2d194b36ea545e8ca3a3f757 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{ callPackage, python3Packages, intltool, makeWrapper }:
let pkg = import ./base.nix {
  version = "3.2.5";
  pname = "cdemu-client";
  pkgSha256 = "1prrdhv0ia0axc6b73crszqzh802wlkihz6d100yvg7wbgmqabd7";
};
in callPackage pkg {
  nativeBuildInputs = [ makeWrapper intltool ];
  buildInputs = [ python3Packages.python python3Packages.dbus-python python3Packages.pygobject3 ];
  drvParams = {
    postFixup = ''
      wrapProgram $out/bin/cdemu \
        --set PYTHONPATH "$PYTHONPATH"
    '';
  };
}