depot/third_party/nixpkgs/pkgs/development/python-modules/brelpy/default.nix
Default email 646c172193 Project import generated by Copybara.
GitOrigin-RevId: c478eaf416411a7dedf773185b6d5bfc966a80ae
2021-12-21 10:18:32 +08:00

38 lines
734 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pycryptodome
, PyGithub
, pythonOlder
}:
buildPythonPackage rec {
pname = "brelpy";
version = "0.0.3";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-MYWSKYd7emHZfY+W/UweQtTg62GSUMybpecL9BR8dhg=";
};
propagatedBuildInputs = [
pycryptodome
];
# Source not tagged and PyPI releases don't contain tests
doCheck = false;
pythonImportsCheck = [
"brelpy"
];
meta = with lib; {
description = "Python to communicate with the Brel hubs";
homepage = "https://gitlab.com/rogiervandergeer/brelpy";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};
}