mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 18:26:45 +01:00
35 lines
717 B
Nix
35 lines
717 B
Nix
{ lib, buildPythonPackage, fetchFromGitHub, isPy27
|
|
, clikit
|
|
, poetry-core
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
version = "5.0.2";
|
|
pname = "xdg";
|
|
disabled = isPy27;
|
|
format = "pyproject";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "srstevenson";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-wZfihMrq83Bye5CE5p7bTlI9Z7CsCkSd8Art5ws4vsY=";
|
|
};
|
|
|
|
nativeBuildInputs = [ poetry-core ];
|
|
|
|
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 ];
|
|
};
|
|
}
|