forked from mirrors/nixpkgs
23 lines
524 B
Nix
23 lines
524 B
Nix
{ lib, 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 lib; {
|
|
description= "Socket library that provides several common communication patterns";
|
|
homepage = "https://nanomsg.org/";
|
|
license = licenses.mit;
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|