diff options
author | William A. Kennington III <william@wkennington.com> | 2015-09-29 15:54:33 -0700 |
---|---|---|
committer | William A. Kennington III <william@wkennington.com> | 2015-09-29 15:54:33 -0700 |
commit | 271972de0a7f0027f33d2bf3098070f1a73bbc55 (patch) | |
tree | c37c532df1e46c3ad5e5a51f713cb35fdd374373 /pkgs/development/tools | |
parent | 48a791d27062c71ced0921920d95fdd991b35107 (diff) | |
parent | ea4850ca6438d62012d2f3caec1c52c1653192b0 (diff) | |
download | nixlib-271972de0a7f0027f33d2bf3098070f1a73bbc55.tar nixlib-271972de0a7f0027f33d2bf3098070f1a73bbc55.tar.gz nixlib-271972de0a7f0027f33d2bf3098070f1a73bbc55.tar.bz2 nixlib-271972de0a7f0027f33d2bf3098070f1a73bbc55.tar.lz nixlib-271972de0a7f0027f33d2bf3098070f1a73bbc55.tar.xz nixlib-271972de0a7f0027f33d2bf3098070f1a73bbc55.tar.zst nixlib-271972de0a7f0027f33d2bf3098070f1a73bbc55.zip |
Merge branch 'master.upstream' into staging.upstream
Diffstat (limited to 'pkgs/development/tools')
11 files changed, 67 insertions, 62 deletions
diff --git a/pkgs/development/tools/analysis/massif-visualizer/default.nix b/pkgs/development/tools/analysis/massif-visualizer/default.nix index e21f5ed15e9e..7342b866a48f 100644 --- a/pkgs/development/tools/analysis/massif-visualizer/default.nix +++ b/pkgs/development/tools/analysis/massif-visualizer/default.nix @@ -1,4 +1,5 @@ -{ stdenv, fetchurl, kdelibs, kgraphviewer, gettext }: +{ stdenv, fetchurl, automoc4, cmake, gettext, perl, pkgconfig +, kdelibs, kgraphviewer }: stdenv.mkDerivation rec { name = "massif-visualizer-${version}"; @@ -9,7 +10,8 @@ stdenv.mkDerivation rec { sha256 = "9940fa90137ca5eef08b9ec220825fadbf03db423a670a2c7fe3edab271d9922"; }; - buildInputs = [ kdelibs kgraphviewer gettext ]; + nativeBuildInputs = [ automoc4 cmake gettext perl pkgconfig ]; + buildInputs = [ kdelibs kgraphviewer ]; meta = with stdenv.lib; { description = "Tool that visualizes massif data generated by valgrind"; diff --git a/pkgs/development/tools/analysis/valgrind/default.nix b/pkgs/development/tools/analysis/valgrind/default.nix index da127b2f8eef..b4b56be9c6d9 100644 --- a/pkgs/development/tools/analysis/valgrind/default.nix +++ b/pkgs/development/tools/analysis/valgrind/default.nix @@ -1,19 +1,21 @@ { stdenv, fetchurl, fetchpatch, perl, gdb }: stdenv.mkDerivation rec { - name = "valgrind-3.10.1"; + name = "valgrind-3.11.0"; src = fetchurl { url = "http://valgrind.org/downloads/${name}.tar.bz2"; - sha256 = "15xrzhfnwwn7n1sfbkwvdbvs6zk0zx718n6zd5i1nrnvdp13s9gs"; + sha256 = "0hiv871b9bk689mv42mkhp76za78l5773glszfkdbpf1m1qn4fbc"; }; - patches = [(fetchpatch { - name = "glibc-2.21.patch"; - url = "https://projects.archlinux.org/svntogit/packages.git/plain/trunk" - + "/valgrind-3.9.0-glibc-2.21.patch?h=packages/valgrind&id=41e87313b69"; - sha256 = "14sgsvjjalbcqpcayyv5cndc9hfm5bigkp684b6cr6virksmlk19"; - }) ./linux-4.0.patch]; + patches = + [ (fetchpatch { + name = "glibc-2.21.patch"; + url = "https://projects.archlinux.org/svntogit/packages.git/plain/trunk" + + "/valgrind-3.9.0-glibc-2.21.patch?h=packages/valgrind&id=41e87313b69"; + sha256 = "14sgsvjjalbcqpcayyv5cndc9hfm5bigkp684b6cr6virksmlk19"; + }) + ]; outputs = [ "out" "doc" ]; diff --git a/pkgs/development/tools/analysis/valgrind/linux-4.0.patch b/pkgs/development/tools/analysis/valgrind/linux-4.0.patch deleted file mode 100644 index 1a2c2d86207c..000000000000 --- a/pkgs/development/tools/analysis/valgrind/linux-4.0.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Naur valgrind-3.10.1/configure valgrind-3.10.1-patch/configure ---- valgrind-3.10.1/configure 2014-11-25 11:42:25.000000000 -0800 -+++ valgrind-3.10.1-patch/configure 2015-04-21 09:45:37.656113841 -0700 -@@ -5553,7 +5553,7 @@ - kernel=`uname -r` - - case "${kernel}" in -- 2.6.*|3.*) -+ 2.6.*|3.*|4.*) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: 2.6.x/3.x family (${kernel})" >&5 - $as_echo "2.6.x/3.x family (${kernel})" >&6; } - diff --git a/pkgs/development/tools/build-managers/cargo/default.nix b/pkgs/development/tools/build-managers/cargo/default.nix index 9ffc9b0cbb99..6d16cbf7405c 100644 --- a/pkgs/development/tools/build-managers/cargo/default.nix +++ b/pkgs/development/tools/build-managers/cargo/default.nix @@ -1,20 +1,21 @@ { stdenv, fetchgit, rustPlatform, file, curl, python, pkgconfig, openssl , cmake, zlib }: -with ((import ./common.nix) { inherit stdenv; version = "0.3.0"; }); +with ((import ./common.nix) { inherit stdenv; version = "0.5.0"; }); with rustPlatform; buildRustPackage rec { inherit name version meta; + # Needs to use fetchgit instead of fetchFromGitHub to fetch submodules src = fetchgit { - url = "https://github.com/rust-lang/cargo.git"; - rev = "refs/tags/0.3.0"; - sha256 = "0p7p7yivydjkpqb53a8i7pjl719z3gxa6czi0255ccwsh6n9z793"; + url = "git://github.com/rust-lang/cargo"; + rev = "refs/tags/${version}"; + sha256 = "1wg7vr6fpk9n76ly65lf2z9w1dj5nhykffbwrv46lybd8m3r8x3w"; }; - depsSha256 = "1sgdr2akd9xrfmf5g0lbf842b2pdj1ymxk37my0cf2x349rjsf0w"; + depsSha256 = "1q92q63g9pz7fy9fhx8y0kqarsshmzv1dq18ki3hdd7d5pcbczna"; buildInputs = [ file curl pkgconfig python openssl cmake zlib ]; diff --git a/pkgs/development/tools/haskell/ihaskell/wrapper.nix b/pkgs/development/tools/haskell/ihaskell/wrapper.nix index c00f46577a80..7ec56267f6b3 100644 --- a/pkgs/development/tools/haskell/ihaskell/wrapper.nix +++ b/pkgs/development/tools/haskell/ihaskell/wrapper.nix @@ -1,4 +1,4 @@ -{ stdenv, writeScriptBin, buildEnv, ghcWithPackages, ihaskell, ipython, packages }: +{ stdenv, writeScriptBin, makeWrapper, buildEnv, ghcWithPackages, ihaskell, ipython, packages }: let ihaskellEnv = ghcWithPackages (self: [ self.ihaskell @@ -18,6 +18,10 @@ buildEnv { name = "ihaskell-with-packages"; paths = [ ihaskellEnv ipython ]; postBuild = '' + . "${makeWrapper}/nix-support/setup-hook" ln -s ${ihaskellSh}/bin/ihaskell-notebook $out/bin/. + for prg in $out/bin"/"*;do + wrapProgram $prg --set PYTHONPATH "$(echo ${ipython}/lib/*/site-packages)" + done ''; } diff --git a/pkgs/development/tools/misc/autoconf-archive/default.nix b/pkgs/development/tools/misc/autoconf-archive/default.nix index 76806bebd262..31bd4fb1c433 100644 --- a/pkgs/development/tools/misc/autoconf-archive/default.nix +++ b/pkgs/development/tools/misc/autoconf-archive/default.nix @@ -1,11 +1,11 @@ { stdenv, fetchurl, xz }: stdenv.mkDerivation rec { name = "autoconf-archive-${version}"; - version = "2015.02.24"; + version = "2015.09.25"; src = fetchurl { url = "mirror://gnu/autoconf-archive/autoconf-archive-${version}.tar.xz"; - sha256 = "1i8d5cvijkfqhjdnb7imy36qpjqi7ra992j9bsl2qmcg0zfmnwb9"; + sha256 = "02im1jn0igzn2qpxkgiwxvcm3jgvjaypg955pi9h2d6jvfjnf13w"; }; buildInputs = [ xz ]; diff --git a/pkgs/development/tools/misc/d-feet/default.nix b/pkgs/development/tools/misc/d-feet/default.nix index b75ff5e6a4d4..e1a3a8223f23 100644 --- a/pkgs/development/tools/misc/d-feet/default.nix +++ b/pkgs/development/tools/misc/d-feet/default.nix @@ -1,6 +1,5 @@ { stdenv, pkgconfig, fetchurl, itstool, intltool, libxml2, glib, gtk3 -, pango, gdk_pixbuf, atk, pep8, python, makeWrapper, gnome3 -, pygobject3, gobjectIntrospection, libwnck3 }: +, pep8, python, makeWrapper, gnome3, pygobject3, libwnck3 }: let version = "${major}.10"; @@ -17,8 +16,7 @@ stdenv.mkDerivation rec { buildInputs = [ pkgconfig libxml2 itstool intltool glib gtk3 pep8 python - gnome3.defaultIconTheme - makeWrapper pygobject3 libwnck3 + gnome3.defaultIconTheme makeWrapper pygobject3 libwnck3 ]; preFixup = diff --git a/pkgs/development/tools/misc/dbench/default.nix b/pkgs/development/tools/misc/dbench/default.nix index 0ef9c47dcc5d..c9dd7cdbfe4c 100644 --- a/pkgs/development/tools/misc/dbench/default.nix +++ b/pkgs/development/tools/misc/dbench/default.nix @@ -1,22 +1,29 @@ -{stdenv, fetchgit, autoconf, popt, zlib}: +{ stdenv, fetchgit, autoconf, popt, zlib }: stdenv.mkDerivation rec { - name = "dbench-20101121"; + name = "dbench-2013-01-01"; - buildInputs = [autoconf popt zlib]; + src = fetchgit { + url = git://git.samba.org/sahlberg/dbench.git; + rev = "65b19870ed8d25bff14cafa1c30beb33f1fb6597"; + sha256 = "0hzn7xr58y7f01hp02d0ciy2n5awskypfbdc56ff1vkr1b12i2p9"; + }; + + buildInputs = [ autoconf popt zlib ]; preConfigure = '' ./autogen.sh ''; - src = fetchgit { - url = git://git.samba.org/sahlberg/dbench.git; - rev = "8b5143bcc0f4409553392fdf12fd21c95a075fae"; - sha256 = "607a62b7ff2e9b1393980777e0ba239215dd8145bc1a34649bcbe2b1e567006d"; - }; - postInstall = '' - cp -R loadfiles/* $out/share + cp -R loadfiles/ $out/share/ ''; + meta = with stdenv.lib; { + description = "Filesystem benchmark tool based on load patterns"; + homepage = https://dbench.samba.org/; + license = licenses.gpl3; + platforms = platforms.all; + maintainers = [ maintainers.bjornfor ]; + }; } diff --git a/pkgs/development/tools/ocaml/camlp5/default.nix b/pkgs/development/tools/ocaml/camlp5/default.nix index 1c811b217585..d9f364234308 100644 --- a/pkgs/development/tools/ocaml/camlp5/default.nix +++ b/pkgs/development/tools/ocaml/camlp5/default.nix @@ -7,11 +7,11 @@ in stdenv.mkDerivation { - name = "camlp5${if transitional then "_transitional" else ""}-6.12"; + name = "camlp5${if transitional then "_transitional" else ""}-6.14"; src = fetchurl { - url = http://camlp5.gforge.inria.fr/distrib/src/camlp5-6.12.tgz; - sha256 = "00jwgp6w4g64lfqjx77xziy532091fy00c42fsy0b4i892rch5mp"; + url = http://camlp5.gforge.inria.fr/distrib/src/camlp5-6.14.tgz; + sha256 = "1ql04iyvclpyy9805kpddc4ndjb5d0qg4shhi2fc6bixi49fvy89"; }; buildInputs = [ ocaml ]; diff --git a/pkgs/development/tools/rust/racer/default.nix b/pkgs/development/tools/rust/racer/default.nix index 0b614f4edc61..463f57f5e75c 100644 --- a/pkgs/development/tools/rust/racer/default.nix +++ b/pkgs/development/tools/rust/racer/default.nix @@ -1,17 +1,18 @@ -{stdenv, fetchgit, rustPlatform, makeWrapper }: +{ stdenv, fetchFromGitHub, rustPlatform, makeWrapper }: with rustPlatform; buildRustPackage rec { - #TODO add emacs support - name = "racer-git-2015-05-18"; - src = fetchgit { - url = https://github.com/phildawes/racer; - rev = "c2d31ed49baa11f06ffc0c7bc8f95dd00037d035"; - sha256 = "0g420cbqpknhl61a4mpk3bbia8agf657d9vzzcqr338lmni80qz7"; + name = "racer-${version}"; + version = "1.0.0"; + src = fetchFromGitHub { + owner = "phildawes"; + repo = "racer"; + rev = "v${version}"; + sha256 = "1b6829nqx0sqw1akcid61izw8mah1dfx2nxldkmmg4scnydhvw1l"; }; - depsSha256 = "0s951apqcr96lvc1jamk6qw3631gwnlnfgcx55vlznfm7shnmywn"; + depsSha256 = "1hfqr1kidl77lq3djbhfn37whvv6k0hg9g5gcnl6pgl6kn669hdc"; buildInputs = [ makeWrapper ]; @@ -24,13 +25,13 @@ buildRustPackage rec { cp -p target/release/racer $out/bin/ wrapProgram $out/bin/racer --set RUST_SRC_PATH "${rustc.src}/src" install -d $out/share/emacs/site-lisp - install "editors/"*.el $out/share/emacs/site-lisp + install "editors/emacs/"*.el $out/share/emacs/site-lisp ''; meta = with stdenv.lib; { description = "A utility intended to provide Rust code completion for editors and IDEs"; homepage = https://github.com/phildawes/racer; license = stdenv.lib.licenses.mit; - maintainers = [ maintainers.jagajaga ]; + maintainers = with maintainers; [ jagajaga globin ]; }; } diff --git a/pkgs/development/tools/rust/rustfmt/default.nix b/pkgs/development/tools/rust/rustfmt/default.nix index 1e735611782a..95818a323d68 100644 --- a/pkgs/development/tools/rust/rustfmt/default.nix +++ b/pkgs/development/tools/rust/rustfmt/default.nix @@ -1,16 +1,18 @@ -{stdenv, fetchgit, rustUnstable, makeWrapper }: +{ stdenv, fetchgit, rustUnstable, makeWrapper, llvmPackages_37 }: with rustUnstable; buildRustPackage rec { - name = "rustfmt-git-2015-09-05"; + name = "rustfmt-git-2015-09-23"; src = fetchgit { url = https://github.com/nrc/rustfmt; - rev = "6c5d3500bb805b37865fe961a7054f8435d176fc"; - sha256 = "0y506viir1klzvspi49qawrfd2g12p9ff2fyy1ndba6zixf69a90"; + rev = "c14cfca0e3de3dfa5fd91d39a85c5b452e7756e3"; + sha256 = "0q72mfj2ph2n4cd0cs4p2mpyr2ixd6ss607kjlgfinjv6klk1i3b"; }; - depsSha256 = "1kfc9l176qkimaag9p650sfpaz50p263rw2021gq5kjw8cyndlx8"; + buildInputs = [ llvmPackages_37.llvm ]; + + depsSha256 = "13i9qaia1wn18lgfl69rrxw7b24bq1bpqhdck2jzxpv3wi2xshlw"; meta = with stdenv.lib; { description = "A tool for formatting Rust code according to style guidelines"; |