Files
2026-07-15 14:04:39 -04:00

35 lines
702 B
Nix

{
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 = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}