at 23.05-pre 717 B view raw
1{ lib, buildPythonPackage, fetchFromGitHub, isPy27 2, clikit 3, poetry-core 4, pytestCheckHook 5}: 6 7buildPythonPackage rec { 8 version = "5.1.1"; 9 pname = "xdg"; 10 disabled = isPy27; 11 format = "pyproject"; 12 13 src = fetchFromGitHub { 14 owner = "srstevenson"; 15 repo = pname; 16 rev = version; 17 sha256 = "sha256-z/Zvo2WGw9qA+M3Pt9r35DuxtuhL7/I75LlFEdDOJcc="; 18 }; 19 20 nativeBuildInputs = [ poetry-core ]; 21 22 propagatedBuildInputs = [ 23 clikit 24 ]; 25 26 checkInputs = [ 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}