nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 36 lines 756 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 nanomsg, 6 setuptools, 7}: 8 9buildPythonPackage { 10 pname = "nanomsg-python"; 11 version = "1.0.20190114"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "tonysimpson"; 16 repo = "nanomsg-python"; 17 rev = "3acd9160f90f91034d4a43ce603aaa19fbaf1f2e"; 18 hash = "sha256-NHurZWiW/Csp6NyuSV+oD16+L2uPUZWGzb2nWi9b/uE="; 19 }; 20 21 build-system = [ setuptools ]; 22 23 buildInputs = [ nanomsg ]; 24 25 # Tests requires network connections 26 doCheck = false; 27 28 pythonImportsCheck = [ "nanomsg" ]; 29 30 meta = { 31 description = "Bindings for nanomsg"; 32 homepage = "https://github.com/tonysimpson/nanomsg-python"; 33 license = lib.licenses.mit; 34 maintainers = with lib.maintainers; [ bgamari ]; 35 }; 36}