nixpkgs/pkgs/development/python-modules/xdg/default.nix

35 lines
717 B
Nix
Raw Normal View History

2020-03-26 01:04:56 +01:00
{ lib, buildPythonPackage, fetchFromGitHub, isPy27
, clikit
2021-01-12 03:40:52 +01:00
, poetry-core
2020-03-26 01:04:56 +01:00
, pytestCheckHook
}:
buildPythonPackage rec {
2021-05-21 07:16:32 +02:00
version = "5.0.2";
2020-03-26 01:04:56 +01:00
pname = "xdg";
disabled = isPy27;
format = "pyproject";
src = fetchFromGitHub {
owner = "srstevenson";
repo = pname;
rev = version;
2021-05-21 07:16:32 +02:00
sha256 = "sha256-wZfihMrq83Bye5CE5p7bTlI9Z7CsCkSd8Art5ws4vsY=";
2020-03-26 01:04:56 +01:00
};
2021-01-12 03:40:52 +01:00
nativeBuildInputs = [ poetry-core ];
2020-03-26 01:04:56 +01:00
propagatedBuildInputs = [
clikit
];
checkInputs = [ pytestCheckHook ];
meta = with lib; {
description = "XDG Base Directory Specification for Python";
homepage = "https://github.com/srstevenson/xdg";
license = licenses.isc;
maintainers = with maintainers; [ jonringer ];
};
}