mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
23 lines
527 B
Nix
23 lines
527 B
Nix
{ stdenv, cmake, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "1.0.0";
|
|
name = "nanomsg-${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nanomsg";
|
|
repo = "nanomsg";
|
|
rev = version;
|
|
sha256 = "1iqlmvz5k8m4srb120g3kfkmm1w2p16hyxmx2asvihd21j285fmw";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|