1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-28 12:06:38 +03:00
nixpkgs/pkgs/development/python-modules/nanomsg-python/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

45 lines
816 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchFromGitHub
, nanomsg
, setuptools
, pythonOlder
}:
2019-08-13 21:52:01 +00:00
buildPythonPackage {
pname = "nanomsg-python";
version = "1.0.20190114";
pyproject = true;
disabled = pythonOlder "3.7";
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 = with lib; {
description = "Bindings for nanomsg";
homepage = "https://github.com/tonysimpson/nanomsg-python";
license = licenses.mit;
maintainers = with maintainers; [ bgamari ];
};
}