summary refs log tree commit diff
path: root/pkgs/development/python-modules/nanomsg-python/default.nix
blob: 765941457d4ab10155706e87119b97f4af4c755f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ lib, buildPythonPackage, fetchFromGitHub, nanomsg }:

buildPythonPackage {
  pname = "nanomsg-python";
  version = "1.0.20190114";

  src = fetchFromGitHub {
    owner = "tonysimpson";
    repo = "nanomsg-python";
    rev = "3acd9160f90f91034d4a43ce603aaa19fbaf1f2e";
    sha256 = "1qgybcpmm9xxrn39alcgdcpvwphgm1glkbnwx0ljpz4nd1jsnyrl";
  };

  buildInputs = [ nanomsg ];

  # Tests requires network connections
  doCheck = false;

  meta = with lib; {
    description = "Bindings for nanomsg";
    homepage = "https://github.com/tonysimpson/nanomsg-python";
    license = licenses.mit;
    maintainers = with maintainers; [ bgamari ];
  };
}