3
0
Fork 0
forked from mirrors/nixpkgs

pythonPackages.i3pystatus: init at 3.33

This commit is contained in:
Igor Sharonov 2015-10-22 22:58:30 +03:00
parent 10c0791142
commit fa44834ff2

View file

@ -4060,6 +4060,41 @@ let
};
};
i3pystatus = buildPythonPackage rec {
name = "${pname}-${version}";
version = "3.33";
pname = "i3pystatus";
namePrefix = "";
disabled = !isPy3k;
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/i/${pname}/${name}.tar.gz";
sha256 = "1fs2nlzm9in8bwg8cm3567ayiha0v7k8pn793pm5fb7lywaalasy";
};
propagatedBuildInputs = with self; [ keyring colour netifaces praw psutil
basiciw pkgs.libpulseaudio ];
ldWrapperSuffix = "--suffix LD_LIBRARY_PATH : \"${pkgs.libpulseaudio}/lib\"";
makeWrapperArgs = [ ldWrapperSuffix ]; # libpulseaudio.so is loaded manually
postInstall = ''
makeWrapper ${python.interpreter} $out/bin/${pname}-python-interpreter \
--prefix PYTHONPATH : "$PYTHONPATH" \
${ldWrapperSuffix}
'';
meta = {
homepage = https://github.com/enkore/i3pystatus;
description = "A complete replacement for i3status";
longDescription = ''
i3pystatus is a growing collection of python scripts for status output compatible
to i3status / i3bar of the i3 window manager.
'';
license = licenses.mit;
platforms = platforms.linux;
};
};
jdcal = buildPythonPackage rec {
version = "1.0";
name = "jdcal-${version}";