2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, python2Packages }:
|
2018-09-28 21:28:22 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "neap";
|
2018-09-28 21:28:22 +01:00
|
|
|
version = "0.7.2";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "vzxwco";
|
|
|
|
repo = "neap";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "04da8rq23rl1qcvrdm5m3l90xbwyli7x601sckv7hmkip2q3g1kz";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
python2Packages.wrapPython
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
python2Packages.python
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonPath = [
|
|
|
|
python2Packages.xlib
|
|
|
|
python2Packages.pygtk
|
|
|
|
];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
install -D -t $out/bin neap
|
|
|
|
install -D -t $out/share/man/man1 neap.1
|
|
|
|
install -D -t $out/share/applications neap.desktop
|
|
|
|
'';
|
|
|
|
|
|
|
|
postFixup = ''
|
|
|
|
wrapPythonPrograms
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-09-28 21:28:22 +01:00
|
|
|
description = "Systray workspace pager";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/vzxwco/neap";
|
2018-09-28 21:28:22 +01:00
|
|
|
license = licenses.bsd2;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.romildo ];
|
|
|
|
};
|
|
|
|
}
|