Merge branch 'master' into x-updates

This commit is contained in:
Vladimír Čunát 2013-09-08 16:39:09 +02:00
commit d55fb56690
5 changed files with 37 additions and 5 deletions

View File

@ -4,11 +4,11 @@
}:
stdenv.mkDerivation rec {
name = "calibre-1.1.0";
name = "calibre-1.2.0";
src = fetchurl {
url = "mirror://sourceforge/calibre/${name}.tar.xz";
sha256 = "1gb6h6jn2fj5b1xv5xkmsrdrid2k8zp496alnfi88x7dmahfb6f6";
sha256 = "0h6afn57pw3rb03ffbnss774gdx7ldirr43hbhzsc2k2h7lxnzyj";
};
inherit python;
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
tar xf ${qt48.src}
qtdir=$(realpath $(ls | grep qt | grep 4.8 | grep src))
sed -i setup/build_environment.py \
-e "s|^qt_private_inc = .*|qt_private_inc = ['$qtdir/include/%s\'%(m) for m in ('QtGui', 'QtCore')]|"
-e "s|^qt_private_inc = .*|qt_private_inc = ['$qtdir/include/%s'%(m) for m in ('QtGui', 'QtCore')]|"
'';
buildInputs =

View File

@ -25,6 +25,14 @@ cabal.mkDerivation (self: {
cd ..
ensureDir "$out/share/emacs"
mv $pname-$version emacs/site-lisp
mv $out/bin/ghc-mod $out/ghc-mod
cat - > $out/bin/ghc-mod <<EOF
#!/bin/sh
COMMAND=\$1
shift
eval exec $out/ghc-mod \$COMMAND \$( ${self.ghc.GHCGetPackages} ${self.ghc.ghcVersion} | tr " " "\n" | tail -n +2 | paste -d " " - - | sed 's/.*/-g "&"/' | tr "\n" " ") "\$@"
EOF
chmod +x $out/bin/ghc-mod
'';
meta = {
homepage = "http://www.mew.org/~kazu/proj/ghc-mod/";
@ -34,6 +42,7 @@ cabal.mkDerivation (self: {
maintainers = [
self.stdenv.lib.maintainers.andres
self.stdenv.lib.maintainers.bluescreen303
self.stdenv.lib.maintainers.ocharles
];
};
})

View File

@ -0,0 +1,20 @@
{ stdenv, fetchurl, pkgconfig }:
stdenv.mkDerivation rec {
name = "libusb-1.0.9";
src = fetchurl {
url = "mirror://sourceforge/libusb/${name}.tar.bz2";
sha256 = "16sz34ix6hw2wwl3kqx6rf26fg210iryr68wc439dc065pffw879";
};
buildInputs = [ pkgconfig ];
meta = {
homepage = http://www.libusb.org;
description = "User-space USB library";
platforms = stdenv.lib.platforms.unix;
maintainers = [ stdenv.lib.maintainers.urkud ];
};
}

View File

@ -7,8 +7,8 @@
aforemny = "Alexander Foremny <alexanderforemny@googlemail.com>";
all = "Nix Committers <nix-commits@lists.science.uu.nl>";
amiddelk = "Arie Middelkoop <amiddelk@gmail.com>";
andres = "Andres Loeh <ksnixos@andres-loeh.de>";
amorsillo = "Andrew Morsillo <andrew.morsillo@gmail.com>";
andres = "Andres Loeh <ksnixos@andres-loeh.de>";
antono = "Antono Vasiljev <self@antono.info>";
astsmtl = "Alexander Tsamutali <astsmtl@yandex.ru>";
aszlig = "aszlig <aszlig@redmoonstudios.org>";
@ -34,6 +34,7 @@
marcweber = "Marc Weber <marco-oweber@gmx.de>";
modulistic = "Pablo Costa <modulistic@gmail.com>";
mornfall = "Petr Ročkai <me@mornfall.net>";
ocharles = "Oliver Charles <ollie@ocharles.org.uk>";
offline = "Jaka Hudoklin <jakahudoklin@gmail.com>";
orbitz = "Malcolm Matalka <mmatalka@gmail.com>";
page = "Carles Pagès <page@cubata.homelinux.net>";

View File

@ -6868,7 +6868,9 @@ let
untie = callPackage ../os-specific/linux/untie { };
upower = callPackage ../os-specific/linux/upower { };
upower = callPackage ../os-specific/linux/upower {
libusb1 = callPackage ../development/libraries/libusb1/1_0_9.nix {};
};
upstart = callPackage ../os-specific/linux/upstart { };