mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
61 lines
1.4 KiB
Nix
61 lines
1.4 KiB
Nix
{ lib
|
|
, fetchurl
|
|
, intltool
|
|
, python3Packages
|
|
, gobject-introspection
|
|
, gtk3
|
|
, itstool
|
|
, libwnck
|
|
, keybinder3
|
|
, desktop-file-utils
|
|
, shared-mime-info
|
|
, wrapGAppsHook3
|
|
, wafHook
|
|
, bash
|
|
, dbus
|
|
}:
|
|
|
|
with python3Packages;
|
|
|
|
buildPythonApplication rec {
|
|
pname = "kupfer";
|
|
version = "321";
|
|
|
|
format = "other";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/kupferlauncher/kupfer/releases/download/v${version}/kupfer-v${version}.tar.bz2";
|
|
sha256 = "0nagjp63gxkvsgzrpjk78cbqx9a7rbnjivj1avzb2fkhrlxa90c7";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
wrapGAppsHook3 intltool
|
|
# For setup hook
|
|
gobject-introspection wafHook
|
|
itstool # for help pages
|
|
desktop-file-utils # for update-desktop-database
|
|
shared-mime-info # for update-mime-info
|
|
docutils # for rst2man
|
|
dbus # for detection of dbus-send during build
|
|
];
|
|
buildInputs = [ libwnck keybinder3 bash ];
|
|
propagatedBuildInputs = [ pygobject3 gtk3 pyxdg dbus-python pycairo ];
|
|
|
|
postInstall = ''
|
|
gappsWrapperArgs+=(
|
|
"--prefix" "PYTHONPATH" : "${makePythonPath propagatedBuildInputs}"
|
|
"--set" "PYTHONNOUSERSITE" "1"
|
|
)
|
|
'';
|
|
|
|
doCheck = false; # no tests
|
|
|
|
meta = with lib; {
|
|
description = "Smart, quick launcher";
|
|
homepage = "https://kupferlauncher.github.io/";
|
|
license = licenses.gpl3;
|
|
maintainers = with maintainers; [ cobbal ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|