mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
23 lines
518 B
Nix
23 lines
518 B
Nix
{ stdenv, cmake, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "1.1.5";
|
|
pname = "nanomsg";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nanomsg";
|
|
repo = "nanomsg";
|
|
rev = version;
|
|
sha256 = "01ddfzjlkf2dgijrmm3j3j8irccsnbgfvjcnwslsfaxnrmrq5s64";
|
|
};
|
|
|
|
buildInputs = [ cmake ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description= "Socket library that provides several common communication patterns";
|
|
homepage = https://nanomsg.org/;
|
|
license = licenses.mit;
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|