mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
35 lines
716 B
Nix
35 lines
716 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
pycryptodome,
|
|
pythonOlder,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "brelpy";
|
|
version = "0.0.3";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "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 ];
|
|
};
|
|
}
|