mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 01:33:10 +00:00
f5fa5fa4d6
* pkgs: refactor needless quoting of homepage meta attribute A lot of packages are needlessly quoting the homepage meta attribute (about 1400, 22%), this commit refactors all of those instances. * pkgs: Fixing some links that were wrongfully unquoted in the previous commit * Fixed some instances
31 lines
724 B
Nix
31 lines
724 B
Nix
{ stdenv, fetchFromGitHub, cmake, asciidoc }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "zeromq-${version}";
|
|
version = "4.2.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "zeromq";
|
|
repo = "libzmq";
|
|
rev = "v${version}";
|
|
sha256 = "09317g4zkalp3k11x6vbidcm4qf02ciml1wxgp3742lrlgcblgxy";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake asciidoc ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
postPatch = ''
|
|
sed -i 's,''${PACKAGE_PREFIX_DIR}/,,g' ZeroMQConfig.cmake.in
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
branch = "4";
|
|
homepage = http://www.zeromq.org;
|
|
description = "The Intelligent Transport Layer";
|
|
license = licenses.gpl3;
|
|
platforms = platforms.all;
|
|
maintainers = with maintainers; [ wkennington fpletz ];
|
|
};
|
|
}
|