mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
nanomsg: new package
Socket library built in C but provides bindings in many languages. Highly efficient and easy to use. [@bjornfor: whitespace fixes, quote shell variables and add meta.platforms]
This commit is contained in:
parent
d8b0c942a1
commit
db3abf1c45
23
pkgs/development/libraries/nanomsg/default.nix
Normal file
23
pkgs/development/libraries/nanomsg/default.nix
Normal file
@ -0,0 +1,23 @@
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.2-alpha";
|
||||
name = "nanomsg-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://download.nanomsg.org/${name}.tar.gz";
|
||||
sha256 = "0bgjj1x1a991pckw4nm5bkmbibjsf74y0ns23fpk4jj5dwarhm3d";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out"
|
||||
make install PREFIX="$out"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description= "Socket library that provides several common communication patterns";
|
||||
homepage = http://nanomsg.org/;
|
||||
license = licenses.mit;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
@ -5257,6 +5257,8 @@ let
|
||||
|
||||
mythes = callPackage ../development/libraries/mythes { };
|
||||
|
||||
nanomsg = callPackage ../development/libraries/nanomsg { };
|
||||
|
||||
ncurses_5_4 = makeOverridable (import ../development/libraries/ncurses/5_4.nix) {
|
||||
inherit fetchurl;
|
||||
unicode = system != "i686-cygwin";
|
||||
|
Loading…
Reference in New Issue
Block a user