depot/third_party/nixpkgs/pkgs/development/python-modules/pyombi/default.nix
Default email f61cd259d4 Project import generated by Copybara.
GitOrigin-RevId: 82155ff501c7622cb2336646bb62f7624261f6d7
2021-10-01 17:20:50 +08:00

35 lines
679 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, requests
}:
buildPythonPackage rec {
pname = "pyombi";
version = "0.1.10";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "1ykbmdc2v05ly9q358j7g73ma9fsqdlclc8i0k1yd0bn7219icpx";
};
propagatedBuildInputs = [
requests
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "pyombi" ];
meta = with lib; {
description = "Python module to retrieve information from Ombi";
homepage = "https://github.com/larssont/pyombi";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}