Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / flipr-api / default.nix
blob650573d73fc5a7534c49087e8e7f4a848a378310
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , poetry-core
5 , requests-mock
6 , pythonOlder
7 , pytest-asyncio
8 , pytestCheckHook
9 , python-dateutil
10 , requests
13 buildPythonPackage rec {
14   pname = "flipr-api";
15   version = "1.5.1";
16   pyproject = true;
18   disabled = pythonOlder "3.9";
20   src = fetchFromGitHub {
21     owner = "cnico";
22     repo = "flipr-api";
23     rev = "refs/tags/${version}";
24     hash = "sha256-xgLi2lH+EPPNlMixqOzdBGVLuoJh5dhZ2tHZ0UH+lOk=";
25   };
27   nativeBuildInputs = [
28     poetry-core
29   ];
31   propagatedBuildInputs = [
32     python-dateutil
33     requests
34   ];
36   nativeCheckInputs = [
37     requests-mock
38     pytest-asyncio
39     pytestCheckHook
40   ];
42   pythonImportsCheck = [
43     "flipr_api"
44   ];
46   meta = with lib; {
47     description = "Python client for Flipr API";
48     mainProgram = "flipr-api";
49     homepage = "https://github.com/cnico/flipr-api";
50     changelog = "https://github.com/cnico/flipr-api/releases/tag/${version}";
51     license = licenses.mit;
52     maintainers = with maintainers; [ fab ];
53   };