nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 60 lines 1.4 kB view raw
1{ lib 2, fetchurl 3, intltool 4, python3Packages 5, gobject-introspection 6, gtk3 7, itstool 8, libwnck 9, keybinder3 10, desktop-file-utils 11, shared-mime-info 12, wrapGAppsHook 13, wafHook 14, bash 15, dbus 16}: 17 18with python3Packages; 19 20buildPythonApplication rec { 21 pname = "kupfer"; 22 version = "321"; 23 24 format = "other"; 25 26 src = fetchurl { 27 url = "https://github.com/kupferlauncher/kupfer/releases/download/v${version}/kupfer-v${version}.tar.bz2"; 28 sha256 = "0nagjp63gxkvsgzrpjk78cbqx9a7rbnjivj1avzb2fkhrlxa90c7"; 29 }; 30 31 nativeBuildInputs = [ 32 wrapGAppsHook intltool 33 # For setup hook 34 gobject-introspection wafHook 35 itstool # for help pages 36 desktop-file-utils # for update-desktop-database 37 shared-mime-info # for update-mime-info 38 docutils # for rst2man 39 dbus # for detection of dbus-send during build 40 ]; 41 buildInputs = [ libwnck keybinder3 bash ]; 42 propagatedBuildInputs = [ pygobject3 gtk3 pyxdg dbus-python pycairo ]; 43 44 postInstall = '' 45 gappsWrapperArgs+=( 46 "--prefix" "PYTHONPATH" : "${makePythonPath propagatedBuildInputs}" 47 "--set" "PYTHONNOUSERSITE" "1" 48 ) 49 ''; 50 51 doCheck = false; # no tests 52 53 meta = with lib; { 54 description = "A smart, quick launcher"; 55 homepage = "https://kupferlauncher.github.io/"; 56 license = licenses.gpl3; 57 maintainers = with maintainers; [ cobbal ]; 58 platforms = platforms.linux; 59 }; 60}