mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-06 04:24:28 +03: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 { };
|
distutils_extra = callPackage ../development/python-modules/distutils_extra { };
|
||||||
|
|
||||||
pyxdg = buildPythonPackage rec {
|
pyxdg = callPackage ../development/python-modules/pyxdg { };
|
||||||
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 ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
chardet = callPackage ../development/python-modules/chardet { };
|
chardet = callPackage ../development/python-modules/chardet { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user