at master 916 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 flaky, 6 hatch-vcs, 7 hatchling, 8 httpx, 9 pytest-random-order, 10 pytestCheckHook, 11}: 12 13buildPythonPackage rec { 14 pname = "pylast"; 15 version = "6.0.0"; 16 pyproject = true; 17 18 src = fetchFromGitHub { 19 owner = "pylast"; 20 repo = "pylast"; 21 tag = version; 22 hash = "sha256-mwPiHTLFvaCFPZGqi0+T223Ickbm5JP2MJj4gqaj/qo="; 23 }; 24 25 build-system = [ 26 hatch-vcs 27 hatchling 28 ]; 29 30 dependencies = [ httpx ]; 31 32 nativeCheckInputs = [ 33 pytest-random-order 34 pytestCheckHook 35 flaky 36 ]; 37 38 pythonImportsCheck = [ "pylast" ]; 39 40 meta = with lib; { 41 description = "Python interface to last.fm (and compatibles)"; 42 homepage = "https://github.com/pylast/pylast"; 43 changelog = "https://github.com/pylast/pylast/releases/tag/${src.tag}"; 44 license = licenses.asl20; 45 maintainers = with maintainers; [ 46 fab 47 rvolosatovs 48 ]; 49 }; 50}