-
-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'central/master' into stdenv-updates
Conflicts: pkgs/os-specific/linux/alsa-utils/default.nix
- Loading branch information
Showing
38 changed files
with
283 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
}; | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.