stripe-cli: 1.23.3 -> 1.23.5 (#375724)
[NixPkgs.git] / pkgs / development / python-modules / pylast / default.nix
blobfe289bbd9154faadaa9e3916f5d3bfeb2dedece7
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   flaky,
6   hatch-vcs,
7   hatchling,
8   httpx,
9   importlib-metadata,
10   pytestCheckHook,
11   pythonOlder,
14 buildPythonPackage rec {
15   pname = "pylast";
16   version = "5.3.0";
17   pyproject = true;
19   disabled = pythonOlder "3.8";
21   src = fetchFromGitHub {
22     owner = "pylast";
23     repo = "pylast";
24     tag = version;
25     hash = "sha256-dgqTNISeyBkZ2m68pqw5rsoyPxLW4wWkv6iqq9bD5Ek=";
26   };
28   build-system = [
29     hatch-vcs
30     hatchling
31   ];
33   dependencies = [ httpx ] ++ lib.optionals (pythonOlder "3.8") [ importlib-metadata ];
35   nativeCheckInputs = [
36     pytestCheckHook
37     flaky
38   ];
40   pythonImportsCheck = [ "pylast" ];
42   meta = with lib; {
43     description = "Python interface to last.fm (and compatibles)";
44     homepage = "https://github.com/pylast/pylast";
45     changelog = "https://github.com/pylast/pylast/releases/tag/${version}";
46     license = licenses.asl20;
47     maintainers = with maintainers; [
48       fab
49       rvolosatovs
50     ];
51   };