summary refs log tree commit diff
path: root/pkgs/development/python-modules/nanomsg-python/default.nix
blob: 31662cd3941aa9dd4222ae7e375ded33f2f39867 (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
{ stdenv, 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 stdenv.lib; {
    description = "Bindings for nanomsg";
    homepage = https://github.com/tonysimpson/nanomsg-python;
    license = licenses.mit;
    maintainers = with maintainers; [ bgamari ];
  };
}