2024-05-12 14:02:19 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, nanomsg
|
|
|
|
, setuptools
|
|
|
|
, pythonOlder
|
|
|
|
}:
|
2019-01-21 17:17:21 -05:00
|
|
|
|
2019-08-13 21:52:01 +00:00
|
|
|
buildPythonPackage {
|
2019-01-21 17:17:21 -05:00
|
|
|
pname = "nanomsg-python";
|
|
|
|
version = "1.0.20190114";
|
2024-05-12 14:02:19 +02:00
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2019-01-21 17:17:21 -05:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tonysimpson";
|
|
|
|
repo = "nanomsg-python";
|
|
|
|
rev = "3acd9160f90f91034d4a43ce603aaa19fbaf1f2e";
|
2024-05-12 14:02:19 +02:00
|
|
|
hash = "sha256-NHurZWiW/Csp6NyuSV+oD16+L2uPUZWGzb2nWi9b/uE=";
|
2019-01-21 17:17:21 -05:00
|
|
|
};
|
|
|
|
|
2024-05-12 14:02:19 +02:00
|
|
|
build-system = [
|
|
|
|
setuptools
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
nanomsg
|
|
|
|
];
|
2019-01-21 17:17:21 -05:00
|
|
|
|
|
|
|
# Tests requires network connections
|
|
|
|
doCheck = false;
|
|
|
|
|
2024-05-12 14:02:19 +02:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"nanomsg"
|
|
|
|
];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2019-01-22 01:23:48 +02:00
|
|
|
description = "Bindings for nanomsg";
|
2020-03-31 21:11:51 -04:00
|
|
|
homepage = "https://github.com/tonysimpson/nanomsg-python";
|
2019-01-21 17:17:21 -05:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ bgamari ];
|
|
|
|
};
|
|
|
|
}
|