nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 anytree,
4 buildPythonPackage,
5 fetchPypi,
6 poetry-core,
7}:
8
9buildPythonPackage rec {
10 pname = "pyebus";
11 version = "1.4.0";
12 pyproject = true;
13
14 src = fetchPypi {
15 inherit pname version;
16 hash = "sha256-6ooOSJAIi8vYmCjDHnbMGQJfPqPmzA5thDSg+iM7T+8=";
17 };
18
19 nativeBuildInputs = [ poetry-core ];
20
21 propagatedBuildInputs = [ anytree ];
22
23 # https://github.com/c0fec0de/pyebus/issues/3
24 doCheck = false;
25
26 pythonImportsCheck = [ "pyebus" ];
27
28 meta = {
29 description = "Pythonic Interface to EBUS Daemon (ebusd)";
30 homepage = "https://github.com/c0fec0de/pyebus";
31 license = lib.licenses.mit;
32 maintainers = with lib.maintainers; [ fab ];
33 };
34}