567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
52 lines
879 B
Nix
52 lines
879 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
fixtures,
|
|
jsonpatch,
|
|
netaddr,
|
|
prettytable,
|
|
python-dateutil,
|
|
pytestCheckHook,
|
|
requests,
|
|
requests-mock,
|
|
six,
|
|
testtools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "fiblary3-fork";
|
|
version = "0.1.12";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "001wqh7gx2dv3sf7a5xsbppz9r88f5qwrp05jzjsjcm6cbcvmsz0";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
jsonpatch
|
|
netaddr
|
|
prettytable
|
|
python-dateutil
|
|
requests
|
|
six
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
fixtures
|
|
pytestCheckHook
|
|
requests-mock
|
|
testtools
|
|
];
|
|
|
|
pythonImportsCheck = [ "fiblary3" ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/graham33/fiblary";
|
|
description = "Fibaro Home Center API Python Library";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ graham33 ];
|
|
};
|
|
}
|