2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, cmake, fetchFromGitHub }:
|
2013-11-15 16:50:59 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-10-27 05:20:27 +00:00
|
|
|
version = "1.1.5";
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "nanomsg";
|
2013-11-15 16:50:59 +00:00
|
|
|
|
2016-06-11 16:32:12 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nanomsg";
|
|
|
|
repo = "nanomsg";
|
|
|
|
rev = version;
|
2018-10-27 05:20:27 +00:00
|
|
|
sha256 = "01ddfzjlkf2dgijrmm3j3j8irccsnbgfvjcnwslsfaxnrmrq5s64";
|
2013-11-15 16:50:59 +00:00
|
|
|
};
|
|
|
|
|
2020-07-23 07:08:06 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2013-11-15 16:50:59 +00:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2013-11-15 16:50:59 +00:00
|
|
|
description= "Socket library that provides several common communication patterns";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://nanomsg.org/";
|
2013-11-15 16:50:59 +00:00
|
|
|
license = licenses.mit;
|
2016-02-03 03:43:26 +00:00
|
|
|
platforms = platforms.unix;
|
2013-11-15 16:50:59 +00:00
|
|
|
};
|
|
|
|
}
|