Merge pull request #256405 from figsoda/xdg
python310Packages.xdg-base-dirs: 6.0.0 -> 6.0.1
This commit is contained in:
commit
4b30ce81ef
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "xdg-base-dirs";
|
pname = "xdg-base-dirs";
|
||||||
version = "6.0.0";
|
version = "6.0.1";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.10";
|
disabled = pythonOlder "3.10";
|
||||||
|
@ -17,7 +17,7 @@ buildPythonPackage rec {
|
||||||
owner = "srstevenson";
|
owner = "srstevenson";
|
||||||
repo = "xdg-base-dirs";
|
repo = "xdg-base-dirs";
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-yVuruSKv99IZGNCpY9cKwAe6gJNAWjL+Lol2D1/0hiI=";
|
hash = "sha256-nbdF1tjVqlxwiGW0pySS6HyJbmNuQ7mVdQYfhofO4Dk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -28,6 +28,11 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
pythonImportsCheck = [ "xdg_base_dirs" ];
|
pythonImportsCheck = [ "xdg_base_dirs" ];
|
||||||
|
|
||||||
|
# remove coverage flags from pytest config
|
||||||
|
postPatch = ''
|
||||||
|
sed -i /addopts/d pyproject.toml
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "An implementation of the XDG Base Directory Specification in Python";
|
description = "An implementation of the XDG Base Directory Specification in Python";
|
||||||
homepage = "https://github.com/srstevenson/xdg-base-dirs";
|
homepage = "https://github.com/srstevenson/xdg-base-dirs";
|
||||||
|
|
Loading…
Reference in a new issue