mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 14:11:36 +00:00
pythonPackages.pyxdg: refactor move to python-modules
This commit is contained in:
parent
83f9f1ef38
commit
ddce81ce8a
25
pkgs/development/python-modules/pyxdg/default.nix
Normal file
25
pkgs/development/python-modules/pyxdg/default.nix
Normal 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 ];
|
||||
};
|
||||
|
||||
}
|
|
@ -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 { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue