biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / dohq-artifactory / default.nix
blob2e44d4464791e253bf679608f90ac823be4d4ff3
2   lib
3 , buildPythonPackage
4 , fetchFromGitHub
5 , pythonAtLeast
6 , setuptools
7 , requests
8 , python-dateutil
9 , pyjwt
10 , pytestCheckHook
11 , responses
12 , nix-update-script
15 buildPythonPackage rec {
16   pname = "dohq-artifactory";
17   version = "0.10.1";
19   src = fetchFromGitHub {
20     owner = "devopshq";
21     repo = "artifactory";
22     rev = version;
23     hash = "sha256-lMT1b6JUDT01fJzQrVc0lMqeGrJnvk6ms4KIYtfTQps=";
24   };
26   # https://github.com/devopshq/artifactory/issues/430
27   disabled = pythonAtLeast "3.12";
29   pyproject = true;
31   build-system = [ setuptools ];
33   dependencies = [
34     requests
35     python-dateutil
36     pyjwt
37   ];
39   pythonImportsCheck = [ "artifactory" ];
41   nativeCheckInputs = [
42     pytestCheckHook
43     responses
44   ];
46   pytestFlagsArray = [ "tests/unit" ];
48   passthru.updateScript = nix-update-script { };
50   meta = with lib; {
51     description = "Python interface library for JFrog Artifactory";
52     homepage = "https://devopshq.github.io/artifactory/";
53     changelog = "https://github.com/devopshq/artifactory/releases/tag/${version}";
54     license = licenses.mit;
55     maintainers = with maintainers; [ h7x4 ];
56   };