1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-22 14:47:06 +00:00
nixpkgs/pkgs/development/libraries/nanomsg/default.nix
Simon Pettersson 80f960575d nanomsg: buildInputs -> nativeBuildInputs
Using `nativeBuildInputs` instead of `buildInputs` for the cmake dependency since using `buildInputs` prevents the package from being cross compiled to arm.
2020-07-23 09:28:29 +02:00

23 lines
526 B
Nix

{ stdenv, cmake, fetchFromGitHub }:
stdenv.mkDerivation rec {
version = "1.1.5";
pname = "nanomsg";
src = fetchFromGitHub {
owner = "nanomsg";
repo = "nanomsg";
rev = version;
sha256 = "01ddfzjlkf2dgijrmm3j3j8irccsnbgfvjcnwslsfaxnrmrq5s64";
};
nativeBuildInputs = [ cmake ];
meta = with stdenv.lib; {
description= "Socket library that provides several common communication patterns";
homepage = "https://nanomsg.org/";
license = licenses.mit;
platforms = platforms.unix;
};
}