Merge pull request #120469 from fabaff/python-picnic-api

python3Packages.python-picnic-api: init at 1.1.0
This commit is contained in:
Martin Weinelt 2021-04-24 01:01:22 +02:00 committed by GitHub
commit 198783352c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,34 @@
{ lib
, buildPythonPackage
, fetchPypi
, requests
}:
buildPythonPackage rec {
pname = "python-picnic-api";
version = "1.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "1axqw4bs3wa9mdac35h7r25v3i5g7v55cvyy48c4sg31dxnr4wcp";
};
propagatedBuildInputs = [
requests
];
# Project doesn't ship tests
# https://github.com/MikeBrink/python-picnic-api/issues/13
doCheck = false;
pythonImportsCheck = [
"python_picnic_api"
];
meta = with lib; {
description = "Python wrapper for the Picnic API";
homepage = "https://github.com/MikeBrink/python-picnic-api";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -7004,6 +7004,8 @@ in {
python-periphery = callPackage ../development/python-modules/python-periphery { };
python-picnic-api = callPackage ../development/python-modules/python-picnic-api { };
python-pipedrive = callPackage ../development/python-modules/python-pipedrive { };
python-prctl = callPackage ../development/python-modules/python-prctl { };