Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / fordpass / default.nix
blob3ddef9d172c37e81d478c9a3cc6274681376f7e8
1 { lib
2 , requests
3 , buildPythonPackage
4 , fetchFromGitHub
5 , pythonOlder
6 }:
8 buildPythonPackage rec {
9   pname = "fordpass";
10   version = "0.0.4";
11   format = "setuptools";
12   disabled = pythonOlder "3.7";
14   src = fetchFromGitHub {
15     owner = "clarkd";
16     repo = "fordpass-python";
17     rev = version;
18     sha256 = "0i1dlswxc2bv1smc5d4r1adbxbl7sgr1swh2cjfajp73vs43xa0m";
19   };
21   propagatedBuildInputs = [
22     requests
23   ];
25   # Project has no tests
26   doCheck = false;
28   pythonImportsCheck = [ "fordpass" ];
30   meta = with lib; {
31     description = "Python module for the FordPass API";
32     mainProgram = "demo.py";
33     homepage = "https://github.com/clarkd/fordpass-python";
34     license = with licenses; [ mit ];
35     maintainers = with maintainers; [ fab ];
36   };