1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-20 12:59:25 +00:00
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;
};
}