depot/third_party/nixpkgs/pkgs/development/python-modules/pydoods/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

34 lines
671 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
requests,
}:
buildPythonPackage rec {
pname = "pydoods";
version = "1.0.2";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "1brpcfj1iy9mhf2inla4gi681zlh7g4qvhr6vrprk6r693glpn3x";
};
propagatedBuildInputs = [ requests ];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "pydoods" ];
meta = with lib; {
description = "Python wrapper for the DOODS service";
homepage = "https://github.com/snowzach/pydoods";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}