mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 01:20:40 +00:00
f5fa5fa4d6
* pkgs: refactor needless quoting of homepage meta attribute A lot of packages are needlessly quoting the homepage meta attribute (about 1400, 22%), this commit refactors all of those instances. * pkgs: Fixing some links that were wrongfully unquoted in the previous commit * Fixed some instances
37 lines
1.1 KiB
Nix
37 lines
1.1 KiB
Nix
{ stdenv, fetchFromGitHub, intltool, file, pythonPackages, cairo }:
|
|
|
|
pythonPackages.buildPythonApplication rec {
|
|
name = "oblogout-unstable-${version}";
|
|
version = "2009-11-18";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nikdoof";
|
|
repo = "oblogout";
|
|
rev = "ee023158c03dee720a1af9b1307b14ed5a95f5a0";
|
|
sha256 = "0nj87q94idb5ki4wnb2xipfgc6k6clr3rmm4xxh46b58z4zhhbmj";
|
|
};
|
|
|
|
nativeBuildInputs = [ intltool file pythonPackages.distutils_extra ];
|
|
|
|
buildInputs = [ cairo ];
|
|
|
|
propagatedBuildInputs = [ pythonPackages.pygtk pythonPackages.pillow pythonPackages.dbus-python ];
|
|
|
|
patches = [ ./oblogout-0.3-fixes.patch ];
|
|
|
|
postPatch = ''
|
|
substituteInPlace data/oblogout --replace sys.prefix \"$out/${pythonPackages.python.sitePackages}\"
|
|
substituteInPlace oblogout/__init__.py --replace sys.prefix \"$out\"
|
|
mkdir -p $out/share/doc
|
|
cp -a README $out/share/doc
|
|
'';
|
|
|
|
meta = {
|
|
description = "Openbox logout script";
|
|
homepage = https://launchpad.net/oblogout;
|
|
license = stdenv.lib.licenses.gpl2;
|
|
platforms = stdenv.lib.platforms.linux;
|
|
maintainers = [ stdenv.lib.maintainers.romildo ];
|
|
};
|
|
}
|