blob: cff5176d8816d490dbbffef3cbfaf2d19ba6d3a3 (
plain)
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
|
{
lib,
requests,
buildPythonPackage,
fetchFromGitHub,
}:
buildPythonPackage rec {
pname = "fordpass";
version = "0.0.4";
format = "setuptools";
src = fetchFromGitHub {
owner = "clarkd";
repo = "fordpass-python";
rev = version;
sha256 = "0i1dlswxc2bv1smc5d4r1adbxbl7sgr1swh2cjfajp73vs43xa0m";
};
propagatedBuildInputs = [ requests ];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "fordpass" ];
meta = {
description = "Python module for the FordPass API";
mainProgram = "demo.py";
homepage = "https://github.com/clarkd/fordpass-python";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ fab ];
};
}
|