depot/third_party/nixpkgs/pkgs/development/python-modules/python-picnic-api/default.nix
Default email 2189cff663 Project import generated by Copybara.
GitOrigin-RevId: 1fe6ed37fd9beb92afe90671c0c2a662a03463dd
2021-04-24 22:57:28 -05:00

34 lines
701 B
Nix

{ 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 ];
};
}