Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at lanzaboote 34 lines 736 B view raw
1{ lib, buildPythonPackage, fetchFromGitHub, isPy27 2, clikit 3, poetry-core 4, pytestCheckHook 5}: 6 7buildPythonPackage rec { 8 version = "6.0.0"; 9 pname = "xdg"; 10 disabled = isPy27; 11 format = "pyproject"; 12 13 src = fetchFromGitHub { 14 owner = "srstevenson"; 15 repo = pname; 16 rev = "refs/tags/${version}"; 17 hash = "sha256-yVuruSKv99IZGNCpY9cKwAe6gJNAWjL+Lol2D1/0hiI="; 18 }; 19 20 nativeBuildInputs = [ poetry-core ]; 21 22 propagatedBuildInputs = [ 23 clikit 24 ]; 25 26 nativeCheckInputs = [ pytestCheckHook ]; 27 28 meta = with lib; { 29 description = "XDG Base Directory Specification for Python"; 30 homepage = "https://github.com/srstevenson/xdg"; 31 license = licenses.isc; 32 maintainers = with maintainers; [ jonringer ]; 33 }; 34}