mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
python311Packages.python-bring-api: init at 3.0.0-unstable-2024-02-03
Module to access the Bring! shopping lists API https://github.com/eliasball/python-bring-api
This commit is contained in:
parent
d934204a0f
commit
34b27df0ef
45
pkgs/development/python-modules/python-bring-api/default.nix
Normal file
45
pkgs/development/python-modules/python-bring-api/default.nix
Normal file
@ -0,0 +1,45 @@
|
||||
{ lib
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-bring-api";
|
||||
version = "3.0.0-unstable-2024-02-03";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "eliasball";
|
||||
repo = "python-bring-api";
|
||||
# https://github.com/eliasball/python-bring-api/issues/16
|
||||
rev = "8043562b22be1f6421a8771774868b105b6ca375";
|
||||
hash = "sha256-VCGCm9N6pMhEYT9WuWh7qKacZEf6bcIpEsILfCC6his=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
];
|
||||
|
||||
# Module has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"python_bring_api"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Module to access the Bring! shopping lists API";
|
||||
homepage = "https://github.com/eliasball/python-bring-api";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -11767,6 +11767,8 @@ self: super: with self; {
|
||||
|
||||
python-box = callPackage ../development/python-modules/python-box { };
|
||||
|
||||
python-bring-api = callPackage ../development/python-modules/python-bring-api { };
|
||||
|
||||
python-bsblan = callPackage ../development/python-modules/python-bsblan { };
|
||||
|
||||
python-cinderclient = callPackage ../development/python-modules/python-cinderclient { };
|
||||
|
Loading…
Reference in New Issue
Block a user