1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-02 02:24:27 +00:00
nixpkgs/pkgs/development/python-modules/xdg/default.nix
2020-03-25 17:11:45 -07:00

35 lines
708 B
Nix

{ 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 ];
};
}