nixpkgs/pkgs/applications/misc/kupfer/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

61 lines
1.4 KiB
Nix
Raw Normal View History

{ lib
, fetchurl
, intltool
, python3Packages
, gobject-introspection
, gtk3
, itstool
2021-06-23 18:22:04 +00:00
, libwnck
, keybinder3
, desktop-file-utils
, shared-mime-info
, wrapGAppsHook
2023-09-03 00:24:44 +00:00
, wafHook
, bash
, dbus
}:
with python3Packages;
buildPythonApplication rec {
2019-05-04 12:14:37 +00:00
pname = "kupfer";
version = "321";
2020-11-03 13:25:18 +00:00
format = "other";
src = fetchurl {
url = "https://github.com/kupferlauncher/kupfer/releases/download/v${version}/kupfer-v${version}.tar.bz2";
sha256 = "0nagjp63gxkvsgzrpjk78cbqx9a7rbnjivj1avzb2fkhrlxa90c7";
};
nativeBuildInputs = [
wrapGAppsHook intltool
# For setup hook
2023-09-03 00:24:44 +00:00
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 ];
2020-11-03 13:25:18 +00:00
postInstall = ''
gappsWrapperArgs+=(
2020-11-03 13:25:18 +00:00
"--prefix" "PYTHONPATH" : "${makePythonPath propagatedBuildInputs}"
"--set" "PYTHONNOUSERSITE" "1"
)
'';
doCheck = false; # no tests
meta = with lib; {
description = "A smart, quick launcher";
homepage = "https://kupferlauncher.github.io/";
license = licenses.gpl3;
maintainers = with maintainers; [ cobbal ];
platforms = platforms.linux;
};
}