Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 42 lines 714 B view raw
1{ 2 callPackage, 3 python3Packages, 4 cmake, 5 pkg-config, 6 intltool, 7 wrapGAppsNoGuiHook, 8 gobject-introspection, 9}: 10python3Packages.buildPythonApplication { 11 12 inherit 13 (callPackage ./common-drv-attrs.nix { 14 version = "3.2.5"; 15 pname = "cdemu-client"; 16 hash = "sha256-py2F61v8vO0BCM18GCflAiD48deZjbMM6wqoCDZsOd8="; 17 }) 18 pname 19 version 20 src 21 meta 22 ; 23 24 nativeBuildInputs = [ 25 cmake 26 pkg-config 27 intltool 28 wrapGAppsNoGuiHook 29 gobject-introspection 30 ]; 31 propagatedBuildInputs = with python3Packages; [ 32 dbus-python 33 pygobject3 34 ]; 35 36 pyproject = false; 37 dontWrapGApps = true; 38 preFixup = '' 39 makeWrapperArgs+=("''${gappsWrapperArgs[@]}") 40 ''; 41 42}