3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/xdg/default.nix

35 lines
708 B
Nix
Raw Normal View History

2020-03-26 00:04:56 +00:00
{ lib, buildPythonPackage, fetchFromGitHub, isPy27
, clikit
, poetry
, pytestCheckHook
}:
buildPythonPackage rec {
version = "4.0.1";
pname = "xdg";
disabled = isPy27;
format = "pyproject";
src = fetchFromGitHub {
owner = "srstevenson";
repo = pname;
rev = version;
sha256 = "13kgnbwam6wmdbig0m98vmyjcqrp0j62nmfknb6prr33ns2nxbs2";
};
nativeBuildInputs = [ poetry ];
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 ];
};
}