2024-05-15 15:35:15 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
nanomsg,
|
|
|
|
setuptools,
|
|
|
|
pythonOlder,
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage {
|
|
|
|
pname = "nanomsg-python";
|
|
|
|
version = "1.0.20190114";
|
2024-05-15 15:35:15 +00:00
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tonysimpson";
|
|
|
|
repo = "nanomsg-python";
|
|
|
|
rev = "3acd9160f90f91034d4a43ce603aaa19fbaf1f2e";
|
2024-05-15 15:35:15 +00:00
|
|
|
hash = "sha256-NHurZWiW/Csp6NyuSV+oD16+L2uPUZWGzb2nWi9b/uE=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
build-system = [ setuptools ];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ nanomsg ];
|
|
|
|
|
|
|
|
# Tests requires network connections
|
|
|
|
doCheck = false;
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
pythonImportsCheck = [ "nanomsg" ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Bindings for nanomsg";
|
|
|
|
homepage = "https://github.com/tonysimpson/nanomsg-python";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ bgamari ];
|
|
|
|
};
|
|
|
|
}
|