python3Packages.fordpass: init at 0.0.4

This commit is contained in:
Fabian Affolter 2021-06-26 22:22:18 +02:00 committed by Jonathan Ringer
parent 7387b8215d
commit c2e7cb1a5a
2 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1,35 @@
{ lib
, requests
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
}:
buildPythonPackage rec {
pname = "fordpass";
version = "0.0.4";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "clarkd";
repo = "fordpass-python";
rev = version;
sha256 = "0i1dlswxc2bv1smc5d4r1adbxbl7sgr1swh2cjfajp73vs43xa0m";
};
propagatedBuildInputs = [
requests
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "fordpass" ];
meta = with lib; {
description = "Python module for the FordPass API";
homepage = "https://github.com/clarkd/fordpass-python";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -2680,6 +2680,8 @@ in {
forbiddenfruit = callPackage ../development/python-modules/forbiddenfruit { };
fordpass = callPackage ../development/python-modules/fordpass { };
fortiosapi = callPackage ../development/python-modules/fortiosapi { };
FormEncode = callPackage ../development/python-modules/FormEncode { };