Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Aycan iRiCAN
2014-06-28 17:32:15 +03:00
44 changed files with 128 additions and 13 deletions

View File

@@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
sha256 = "0ks9gsnhxrs2vccc6ha9m8xmj83lmw09xcws4zc0k57q4jcy5bgk";
};
buildInputs = [ libunwind ];
buildInputs = stdenv.lib.optional stdenv.isLinux libunwind;
# some packages want to link to the static tcmalloc_minimal
# to drop the runtime dependency on gperftools
@@ -19,6 +19,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = https://code.google.com/p/gperftools/;
description = "Fast, multi-threaded malloc() and nifty performance analysis tools";
platforms = stdenv.lib.platforms.linux;
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
};
}

View File

@@ -0,0 +1,25 @@
{ stdenv, fetchgit, nix }:
stdenv.mkDerivation {
name = "nix-plugins-1.0.0";
src = fetchgit {
url = git://github.com/shlevy/nix-plugins.git;
rev = "refs/tags/1.0.0";
sha256 = "e624de55cabc9014e77f21978d657089ae94ce161584b3d9dc3c9763658421b3";
};
buildInputs = [ nix ];
buildFlags = [ "NIX_INCLUDE=${nix}/include" ];
installFlags = [ "PREFIX=$(out)" ];
meta = {
description = "Collection of miscellaneous plugins for the nix expression language";
homepage = https://github.com/shlevy/nix-plugins;
license = stdenv.lib.licenses.mit;
maintaners = [ stdenv.lib.maintainers.shlevy ];
platforms = stdenv.lib.platforms.all;
};
}