Merge branch 'master' into staging

Conflicts:
	pkgs/tools/system/facter/default.nix
This commit is contained in:
obadz
2016-08-29 12:44:17 +01:00
21 changed files with 291 additions and 208 deletions

View File

@@ -0,0 +1,26 @@
{ stdenv, fetchFromGitHub, cmake, boost, curl, leatherman }:
stdenv.mkDerivation rec {
name = "cpp-hocon-${version}";
version = "0.1.2";
src = fetchFromGitHub {
sha256 = "0v2mnak6fh13dkl25lfvw1la2dfjqrh3lq1d40r3a52m56vwflrg";
rev = version;
repo = "cpp-hocon";
owner = "puppetlabs";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ boost curl leatherman ];
meta = with stdenv.lib; {
inherit (src.meta) homepage;
description = " A C++ port of the Typesafe Config library";
license = licenses.asl20;
maintainers = [ maintainers.womfoo ];
platforms = platforms.linux;
};
}

View File

@@ -2,10 +2,10 @@
stdenv.mkDerivation rec {
name = "leatherman-${version}";
version = "0.7.5";
version = "0.9.0";
src = fetchFromGitHub {
sha256 = "103qzhjhgw7jh0xcaxag735wfm6q35xprq5wmdimfhhmmrmjr51g";
sha256 = "18nidasykbwdd9qzwc8pnzhczy6acr3rsxwvv2v3j5gq3nbsk2mc";
rev = version;
repo = "leatherman";
owner = "puppetlabs";
@@ -13,10 +13,6 @@ stdenv.mkDerivation rec {
buildInputs = [ boost cmake curl ];
# curl upgrade to 7.50.0 (#17152) broke the curl mock tests, disabling for now
# upstream bug raised https://tickets.puppetlabs.com/browse/LTH-108
cmakeFlags = [ "-DLEATHERMAN_MOCK_CURL=OFF" ];
meta = with stdenv.lib; {
homepage = https://github.com/puppetlabs/leatherman/;
description = "A collection of C++ and CMake utility libraries";

View File

@@ -0,0 +1,17 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "liborc-${version}";
version = "0.4.16";
src = fetchurl {
url = "http://http.debian.net/debian/pool/main/o/orc/orc_${version}.orig.tar.gz";
sha256 = "1asq58gm87ig60ib4cs69hyqhnsirqkdlidnchhx83halbdlw3kh";
};
meta = with stdenv.lib; {
homepage = https://packages.debian.org/wheezy/liborc-0.4-0;
description = "Orc is a library and set of tools for compiling and executing very simple programs that operate on arrays of data.";
license = with licenses; [ bsd2 bsd3 ];
};
}