Merge pull request #16145 from rushmorem/update-nanomsg

nanomsg: 0.8-beta -> 1.0.0
This commit is contained in:
Rushmore Mushambi 2016-06-11 19:28:18 +02:00 committed by GitHub
commit bb1a9d3b60
1 changed files with 8 additions and 9 deletions

View File

@ -1,18 +1,17 @@
{ stdenv, fetchurl }: { stdenv, cmake, fetchFromGitHub }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "0.8-beta"; version = "1.0.0";
name = "nanomsg-${version}"; name = "nanomsg-${version}";
src = fetchurl { src = fetchFromGitHub {
url = "https://github.com/nanomsg/nanomsg/releases/download/0.8-beta/${name}.tar.gz"; owner = "nanomsg";
sha256 = "0ix9yd6shqmgm1mxig8ww2jpbgg2n5dms0wrv1q81ihclml0rkkm"; repo = "nanomsg";
rev = version;
sha256 = "1iqlmvz5k8m4srb120g3kfkmm1w2p16hyxmx2asvihd21j285fmw";
}; };
installPhase = '' buildInputs = [ cmake ];
mkdir -p "$out"
make install PREFIX="$out"
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description= "Socket library that provides several common communication patterns"; description= "Socket library that provides several common communication patterns";