Skip to content

Commit

Permalink
Merge remote-tracking branch 'central/master' into stdenv-updates
Browse files Browse the repository at this point in the history
Conflicts:
	pkgs/os-specific/linux/alsa-utils/default.nix
  • Loading branch information
viric committed Jan 27, 2013
2 parents 0214514 + bff4b06 commit 3b26ba7
Show file tree
Hide file tree
Showing 38 changed files with 283 additions and 74 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
pkgconfig, webkit }:

stdenv.mkDerivation {
name = "vimprobable2-1.0.2";
name = "vimprobable2-1.2.0";
src = fetchurl {
url = "mirror://sourceforge/vimprobable/vimprobable2_1.0.2.tar.bz2";
sha256 = "19gwlfv0lczbns73xg3637q7ixly62y3ijccnv0m1bqaqxjl4v8x";
url = "mirror://sourceforge/vimprobable/vimprobable2_1.2.0.tar.bz2";
sha256 = "0fjakrmz1syjwgx01j2icpdv69jgvfl2nlxbj8zxfr8mw0h2wg1f";
};
buildInputs = [ makeWrapper gtk libsoup libX11 perl pkgconfig webkit ];
installPhase = ''
Expand Down
8 changes: 4 additions & 4 deletions pkgs/development/compilers/idris/default.nix
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{ cabal, binary, Cabal, filepath, happy, haskeline, mtl, parsec
, transformers
, split, transformers
}:

cabal.mkDerivation (self: {
pname = "idris";
version = "0.9.5.1";
sha256 = "0cy27b2kq696lw354y55mpx1gv66jdax1xjph989kxp0rd1v1sw9";
version = "0.9.6";
sha256 = "1yml1k4bis210hgi898hgs4wj5p34ainlj7vwy5lh7bjkvrksgq1";
isLibrary = false;
isExecutable = true;
buildDepends = [
binary Cabal filepath haskeline mtl parsec transformers
binary Cabal filepath haskeline mtl parsec split transformers
];
buildTools = [ happy ];
meta = {
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/libraries/haskell/ansi-terminal/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

cabal.mkDerivation (self: {
pname = "ansi-terminal";
version = "0.5.5.1";
sha256 = "146kqp49dvsskws7pn54yynpac1sb1s51pbm4nkqj86wwp04f0lc";
version = "0.6";
sha256 = "0a5zrq80yrj48s2cm8lns06p6wwnz72vs2wy0ryp0gw6rrg50fkg";
isLibrary = true;
isExecutable = true;
meta = {
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/libraries/haskell/ansi-wl-pprint/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

cabal.mkDerivation (self: {
pname = "ansi-wl-pprint";
version = "0.6.4";
sha256 = "0zrhzkmc5ki6q9ac5l16lhnyf9z2raj78gj9n0a7530rcv4ak3k0";
version = "0.6.6";
sha256 = "1zkbiv5cpdgjiyn2nrrha29r84al7jg6647flqmc8riz2nn91zqy";
isLibrary = true;
isExecutable = true;
buildDepends = [ ansiTerminal ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/libraries/haskell/citeproc-hs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

cabal.mkDerivation (self: {
pname = "citeproc-hs";
version = "0.3.6";
sha256 = "0zxwca3i7gg1vhdvrxd15c8zgx1gy3y7zjj746bcvf8pwavkq5q2";
version = "0.3.7";
sha256 = "0ix9y7z8m8x4l10h96fgv820grywvwcp3019wxjja4y4w6irid3b";
buildDepends = [
filepath hexpat hsBibutils HTTP json mtl network pandocTypes parsec
syb time utf8String
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/libraries/haskell/diagrams/contrib.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

cabal.mkDerivation (self: {
pname = "diagrams-contrib";
version = "0.6.0.1";
sha256 = "1wrfdsfb2yj93wq2ykxjyg6g0q56bmxd2rc6r3gd0zcs8kiimaar";
version = "0.6.0.2";
sha256 = "1lj99a46r12zjwmpkn7vj04wapfgdlmw05jwb5lnhy9hxqgcsgng";
buildDepends = [
colour dataDefault diagramsLib forceLayout lens mtl vectorSpace
];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

cabal.mkDerivation (self: {
pname = "digestive-functors-heist";
version = "0.5.1.1";
sha256 = "0jdg35xrikqg3r0rziv71g619vnmn8fzsv63b73m72fbj5xvy881";
version = "0.6.0.0";
sha256 = "17qndqsk09fvnvyhhw3xbbjjhfyyp4sivc898vqllyyky0wqmrdk";
buildDepends = [ digestiveFunctors heist mtl text xmlhtml ];
meta = {
homepage = "http://github.com/jaspervdj/digestive-functors";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

cabal.mkDerivation (self: {
pname = "digestive-functors-snap";
version = "0.5.0.2";
sha256 = "0xx5i09l8n1srdmslq0sq1h366cdq3xqxwjd3kp2ck9s6x65zyjz";
version = "0.6.0.0";
sha256 = "18hc0sx7in0df6kgkc8mrxag5h2rmdj2cca9zf9w1if6wimx3g88";
buildDepends = [ digestiveFunctors filepath mtl snapCore text ];
meta = {
homepage = "http://github.com/jaspervdj/digestive-functors";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

cabal.mkDerivation (self: {
pname = "digestive-functors";
version = "0.5.0.4";
sha256 = "0diaj1pmfmhwbyjmw49kna59f7dckwrp16cbar5xpcn9k2pf19nv";
version = "0.6.0.0";
sha256 = "1h56nl1rszm098gwrdhm5w63mrnfjp1brfrk5hlj238nmj0djgcd";
buildDepends = [ mtl text ];
meta = {
homepage = "http://github.com/jaspervdj/digestive-functors";
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/libraries/haskell/hakyll/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

cabal.mkDerivation (self: {
pname = "hakyll";
version = "4.1.2.0";
sha256 = "1kbilad4ry8lyfcygajaphkgragmq5js349mjmh1bjn04rhjm54c";
version = "4.1.2.1";
sha256 = "1d9bbqy1dix60w72zc3g4y7454avngfyl2i8gj99bdqin2wwcgp8";
isLibrary = true;
isExecutable = true;
buildDepends = [
Expand Down
1 change: 1 addition & 0 deletions pkgs/development/libraries/haskell/hspec/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ cabal.mkDerivation (self: {
ansiTerminal filepath hspecExpectations HUnit QuickCheck setenv
silently time transformers
];
jailbreak = true;
meta = {
homepage = "http://hspec.github.com/";
description = "Behavior-Driven Development for Haskell";
Expand Down
24 changes: 13 additions & 11 deletions pkgs/development/libraries/haskell/lens/default.nix
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
{ cabal, comonad, comonadsFd, comonadTransformers, filepath
, hashable, mtl, nats, parallel, semigroups, split, text
, transformers, transformersCompat, unorderedContainers, vector
{ cabal, bifunctors, comonad, comonadsFd, comonadTransformers
, contravariant, distributive, filepath, genericDeriving, hashable
, MonadCatchIOTransformers, mtl, parallel, profunctorExtras
, profunctors, reflection, semigroupoids, semigroups, split, tagged
, text, transformers, transformersCompat, unorderedContainers
, vector
}:

cabal.mkDerivation (self: {
pname = "lens";
version = "3.7.3";
sha256 = "0mvwczviszfv52ylymvrz3zk6s05ngmqc2g1k4r6pym8s9cmgmzz";
version = "3.8.2";
sha256 = "1spz4nyv1f7kf4bnw8qgqaks5kc4m0slzw0czj1wh1232w2sz15m";
buildDepends = [
comonad comonadsFd comonadTransformers filepath hashable mtl nats
parallel semigroups split text transformers transformersCompat
unorderedContainers vector
bifunctors comonad comonadsFd comonadTransformers contravariant
distributive filepath genericDeriving hashable
MonadCatchIOTransformers mtl parallel profunctorExtras profunctors
reflection semigroupoids semigroups split tagged text transformers
transformersCompat unorderedContainers vector
];
patchPhase = ''
sed -i -e 's|semigroups.*,|semigroups,|' lens.cabal
'';
meta = {
homepage = "http://github.com/ekmett/lens/";
description = "Lenses, Folds and Traversals";
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/libraries/haskell/logict/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

cabal.mkDerivation (self: {
pname = "logict";
version = "0.5.0.2";
sha256 = "0m0a55l061vbxdqw9h1780g893amdxs7glza4jd5jncjsv823s1z";
version = "0.6";
sha256 = "1np4wizvwlx458kq6mmdrh8qcp1794y1bs4mnnz951h6hay5z49f";
buildDepends = [ mtl ];
meta = {
homepage = "http://code.haskell.org/~dolio/logict";
Expand Down
1 change: 1 addition & 0 deletions pkgs/development/libraries/haskell/mpppc/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ cabal.mkDerivation (self: {
version = "0.1.3";
sha256 = "1zcilskpslpqyrbwpabwbry4p3kpcfca94wchh9dkq9g8pg8laxi";
buildDepends = [ ansiTerminal split text ];
jailbreak = true;
meta = {
description = "Multi-dimensional parametric pretty-printer with color";
license = "GPL";
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/libraries/haskell/pandoc/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

cabal.mkDerivation (self: {
pname = "pandoc";
version = "1.10.0.4";
sha256 = "1zwjwzxgip3zhbs7v7i981f5ch1rrd8i04cmn1gkfxnapbxx6z26";
version = "1.10.0.5";
sha256 = "05mjgvxk3wxfssf4aviigdm6jb73a6bp8lwz86aabdgkgh2i6n54";
isLibrary = true;
isExecutable = true;
buildDepends = [
Expand Down
14 changes: 14 additions & 0 deletions pkgs/development/libraries/haskell/reflection/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{ cabal, tagged }:

cabal.mkDerivation (self: {
pname = "reflection";
version = "1.1.6";
sha256 = "1ihyx1a8pk1czam0qm1znl851dn4y6jip6s30girgghrvvxmblkw";
buildDepends = [ tagged ];
meta = {
homepage = "http://github.com/ekmett/reflection";
description = "Reifies arbitrary terms into types that can be reflected back into terms";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})
4 changes: 2 additions & 2 deletions pkgs/development/libraries/haskell/zlib-bindings/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

cabal.mkDerivation (self: {
pname = "zlib-bindings";
version = "0.1.1.2";
sha256 = "0p4713craq59vbyf3rr6kzv53rrfycbnlfs57i78fjrgwv6bd1ln";
version = "0.1.1.3";
sha256 = "18jhav7chbapakm9mwn7bn9lgvip7qaz61dw5gwv2nyalvm96qfr";
buildDepends = [ zlib ];
meta = {
homepage = "http://github.com/snoyberg/zlib-bindings";
Expand Down
61 changes: 61 additions & 0 deletions pkgs/development/libraries/libspotify/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{ stdenv, fetchurl, libspotify, alsaLib, readline, pkgconfig, apiKey }:

let version = "12.1.51"; in

if stdenv.system != "x86_64-linux" then throw ''
Check https://developer.spotify.com/technologies/libspotify/ for a tarball for your system and add it here
'' else stdenv.mkDerivation {
name = "libspotify-${version}";

src = fetchurl {
url = "https://developer.spotify.com/download/libspotify/libspotify-${version}-Linux-x86_64-release.tar.gz";

sha256 = "0n0h94i4xg46hfba95n3ypah93crwb80bhgsg00f6sms683lx8a3";
};

buildPhase = "true";

installFlags = "prefix=$(out)";

postInstall = "mv -v share $out";

patchPhase = "sed -i 's/ldconfig//' Makefile";

passthru = {
samples = if apiKey == null
then throw ''
Please visit ${libspotify.meta.homepage} to get an api key then set config.libspotify.apiKey accordingly
'' else stdenv.mkDerivation {
name = "libspotify-samples-${version}";

src = libspotify.src;

buildInputs = [ pkgconfig libspotify alsaLib readline ];

postUnpack = "sourceRoot=$sourceRoot/share/doc/libspotify/examples";

patchPhase = "cp ${apiKey} appkey.c";

installPhase = ''
mkdir -p $out/bin
install -m 755 jukebox/jukebox $out/bin
install -m 755 spshell/spshell $out/bin
install -m 755 localfiles/posix_stu $out/bin
'';

meta = libspotify.meta // { description = "Spotify API library samples"; };
};

inherit apiKey;
};

meta = {
description = "Spotify API library";

homepage = https://developer.spotify.com/technologies/libspotify;

maintainers = [ stdenv.lib.maintainers.shlevy ];

license = stdenv.lib.licenses.proprietary;
};
}
8 changes: 4 additions & 4 deletions pkgs/development/tools/haskell/BNFC/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

cabal.mkDerivation (self: {
pname = "BNFC";
version = "2.4.2.1";
sha256 = "0a6ic9mqkxk2gql7dzik2bhm5iikgx035wxlz8iafxf45159dl14";
isLibrary = false;
version = "2.6.0.3";
sha256 = "0i38rwslkvnicnlxbrxybnwkgfin04lnr4q12lcvli4ldp2ylfjq";
isLibrary = true;
isExecutable = true;
buildDepends = [ mtl ];
meta = {
homepage = "http://www.cse.chalmers.se/research/group/Language-technology/BNFC/";
homepage = "http://bnfc.digitalgrammars.com/";
description = "A compiler front-end generator";
license = "GPL";
platforms = self.ghc.meta.platforms;
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/tools/haskell/cabal2nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

cabal.mkDerivation (self: {
pname = "cabal2nix";
version = "1.42";
sha256 = "02yg4lj2y272fvn79kgqccizs71xg5ifnjhpw4vhw5wya657a20w";
version = "1.43";
sha256 = "00blyn8hxj7d0ib7gg0a2gk36scm1isr5m4xsi9nvqay3261b068";
isLibrary = false;
isExecutable = true;
buildDepends = [ Cabal filepath hackageDb HTTP mtl regexPosix ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/tools/haskell/hlint/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

cabal.mkDerivation (self: {
pname = "hlint";
version = "1.8.41";
sha256 = "0b585i5v81jh1j2r70x74ykabc5hcd5sbww4kspl3s5i3jwkp16q";
version = "1.8.42";
sha256 = "03myq4wagx5d9g6v8znw4l67f1irami0fnlw48rxlqhfn33y5mgc";
isLibrary = true;
isExecutable = true;
buildDepends = [
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/tools/misc/cpphs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

cabal.mkDerivation (self: {
pname = "cpphs";
version = "1.15";
sha256 = "1p2lf9zqiyydpq1vrqf8sw7mij5kw4pyggm41qgxn0a6lp6ni346";
version = "1.16";
sha256 = "1fv91s3h2s76h1hadb3mmnkg0rrfakmbfsrw6q522kshvpk2wmmp";
isLibrary = true;
isExecutable = true;
meta = {
Expand Down
4 changes: 2 additions & 2 deletions pkgs/os-specific/linux/alsa-utils/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{stdenv, fetchurl, alsaLib, gettext, ncurses}:
{stdenv, fetchurl, alsaLib, gettext, ncurses, libsamplerate}:

stdenv.mkDerivation rec {
name = "alsa-utils-1.0.26";
Expand All @@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "1rw1n3w8syqky9i7kwy5xd2rzfdbihxas32vwfxpb177lqx2lpzq";
};

buildInputs = [ alsaLib ncurses ];
buildInputs = [ alsaLib ncurses libsamplerate ];
nativeBuildInputs = [ gettext ];

configureFlags = "--disable-xmlto --with-udev-rules-dir=$(out)/lib/udev/rules.d";
Expand Down
17 changes: 14 additions & 3 deletions pkgs/os-specific/linux/pm-utils/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ let

sbinPath = stdenv.lib.makeSearchPath "sbin"
[ procps ];
in

in

stdenv.mkDerivation rec {
name = "pm-utils-1.4.1";
Expand All @@ -30,15 +30,26 @@ stdenv.mkDerivation rec {
substituteInPlace pm/pm-functions.in --replace '/sbin:/usr/sbin:/bin:/usr/bin' '$PATH:${binPath}:${sbinPath}'
substituteInPlace src/pm-action.in --replace 'tr ' '${coreutils}/bin/tr '
substituteInPlace pm/sleep.d/00logging --replace /bin/uname "$(type -P uname)"
substituteInPlace pm/sleep.d/90clock --replace /sbin/hwclock hwclock
'';

postInstall =
''
# Remove some hooks that have doubtful usefulness. See
# http://zinc.canonical.com/~cking/power-benchmarking/pm-utils-results/results.txt.
# In particular, journal-commit breaks things if you have
# read-only bind mounts, since it ends up remounting the
# underlying filesystem read-only.
rm $out/lib/pm-utils/power.d/{journal-commit,readahead}
'';

meta = {
homepage = http://pm-utils.freedesktop.org/wiki/;
description = "A small collection of scripts that handle suspend and resume on behalf of HAL";
license = "GPLv2";
platforms = stdenv.lib.platforms.linux;
};
}
Loading

0 comments on commit 3b26ba7

Please sign in to comment.