pythonPackages.pyxdg: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-16 13:29:36 -04:00 committed by Frederik Rietdijk
parent 83f9f1ef38
commit ddce81ce8a
2 changed files with 26 additions and 18 deletions

View file

@ -0,0 +1,25 @@
{ stdenv
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "pyxdg";
version = "0.25";
src = fetchPypi {
inherit pname version;
sha256 = "81e883e0b9517d624e8b0499eb267b82a815c0b7146d5269f364988ae031279d";
};
# error: invalid command 'test'
doCheck = false;
meta = with stdenv.lib; {
homepage = http://freedesktop.org/wiki/Software/pyxdg;
description = "Contains implementations of freedesktop.org standards";
license = licenses.lgpl2;
maintainers = with maintainers; [ domenkozar ];
};
}

View file

@ -2215,24 +2215,7 @@ in {
distutils_extra = callPackage ../development/python-modules/distutils_extra { };
pyxdg = buildPythonPackage rec {
name = "pyxdg-0.25";
src = pkgs.fetchurl {
url = "mirror://pypi/p/pyxdg/${name}.tar.gz";
sha256 = "81e883e0b9517d624e8b0499eb267b82a815c0b7146d5269f364988ae031279d";
};
# error: invalid command 'test'
doCheck = false;
meta = {
homepage = http://freedesktop.org/wiki/Software/pyxdg;
description = "Contains implementations of freedesktop.org standards";
license = licenses.lgpl2;
maintainers = with maintainers; [ domenkozar ];
};
};
pyxdg = callPackage ../development/python-modules/pyxdg { };
chardet = callPackage ../development/python-modules/chardet { };