nixpkgs/pkgs/development/libraries/nanomsg/default.nix

23 lines
527 B
Nix
Raw Normal View History

2016-06-11 16:32:12 +00:00
{ stdenv, cmake, fetchFromGitHub }:
stdenv.mkDerivation rec {
2016-06-11 16:32:12 +00:00
version = "1.0.0";
name = "nanomsg-${version}";
2016-06-11 16:32:12 +00:00
src = fetchFromGitHub {
owner = "nanomsg";
repo = "nanomsg";
rev = version;
sha256 = "1iqlmvz5k8m4srb120g3kfkmm1w2p16hyxmx2asvihd21j285fmw";
};
2016-06-11 16:32:12 +00:00
buildInputs = [ cmake ];
meta = with stdenv.lib; {
description= "Socket library that provides several common communication patterns";
homepage = http://nanomsg.org/;
license = licenses.mit;
platforms = platforms.unix;
};
}