nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pycryptodome,
6}:
7
8buildPythonPackage rec {
9 pname = "brelpy";
10 version = "0.0.3";
11 format = "setuptools";
12
13 src = fetchPypi {
14 inherit pname version;
15 hash = "sha256-MYWSKYd7emHZfY+W/UweQtTg62GSUMybpecL9BR8dhg=";
16 };
17
18 propagatedBuildInputs = [ pycryptodome ];
19
20 # Source not tagged and PyPI releases don't contain tests
21 doCheck = false;
22
23 pythonImportsCheck = [ "brelpy" ];
24
25 meta = {
26 description = "Python to communicate with the Brel hubs";
27 homepage = "https://gitlab.com/rogiervandergeer/brelpy";
28 license = lib.licenses.agpl3Only;
29 maintainers = with lib.maintainers; [ fab ];
30 };
31}