blob: 738497538acb9b326fe673d843ad37a36ebc06de (
plain)
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
26
27
28
29
30
31
32
33
34
35
36
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
nanomsg,
setuptools,
}:
buildPythonPackage {
pname = "nanomsg-python";
version = "1.0.20190114";
pyproject = true;
src = fetchFromGitHub {
owner = "tonysimpson";
repo = "nanomsg-python";
rev = "3acd9160f90f91034d4a43ce603aaa19fbaf1f2e";
hash = "sha256-NHurZWiW/Csp6NyuSV+oD16+L2uPUZWGzb2nWi9b/uE=";
};
build-system = [ setuptools ];
buildInputs = [ nanomsg ];
# Tests requires network connections
doCheck = false;
pythonImportsCheck = [ "nanomsg" ];
meta = {
description = "Bindings for nanomsg";
homepage = "https://github.com/tonysimpson/nanomsg-python";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ bgamari ];
};
}
|