1{ lib, buildPythonPackage, fetchFromGitHub, nanomsg }:
2
3buildPythonPackage {
4 pname = "nanomsg-python";
5 version = "1.0.20190114";
6
7 src = fetchFromGitHub {
8 owner = "tonysimpson";
9 repo = "nanomsg-python";
10 rev = "3acd9160f90f91034d4a43ce603aaa19fbaf1f2e";
11 sha256 = "1qgybcpmm9xxrn39alcgdcpvwphgm1glkbnwx0ljpz4nd1jsnyrl";
12 };
13
14 buildInputs = [ nanomsg ];
15
16 # Tests requires network connections
17 doCheck = false;
18
19 meta = with lib; {
20 description = "Bindings for nanomsg";
21 homepage = "https://github.com/tonysimpson/nanomsg-python";
22 license = licenses.mit;
23 maintainers = with maintainers; [ bgamari ];
24 };
25}