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

24 lines
585 B
Nix
Raw Normal View History

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
2015-12-10 18:19:12 +00:00
version = "0.8-beta";
name = "nanomsg-${version}";
src = fetchurl {
2015-12-10 18:19:12 +00:00
url = "https://github.com/nanomsg/nanomsg/releases/download/0.8-beta/${name}.tar.gz";
sha256 = "0ix9yd6shqmgm1mxig8ww2jpbgg2n5dms0wrv1q81ihclml0rkkm";
};
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.unix;
};
}