blob: 0a7d9f68e6ec3abb7a4546fc946f09d9c4214a5a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
{
lib,
requests,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
}:
buildPythonPackage rec {
pname = "fordpass";
version = "0.0.4";
format = "setuptools";
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";
mainProgram = "demo.py";
homepage = "https://github.com/clarkd/fordpass-python";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}
|