Giter Club home page Giter Club logo

Comments (2)

apeyroux avatar apeyroux commented on July 28, 2024

I just try to change the version but I get an error with the libgthread.

ja@spof:~/src/nixpkgs/pkgs/applications/audio/spotify$ ./result/bin/spotify 
/nix/store/qlds76m24fkixs3q1q0yl9m0w5aibpb9-spotify-0.8.4.103/bin/.spotify-wrapped: error while loading shared libraries: libgthread-2.0.so.0: cannot open shared object file: No such file or directory

patch :

*** default.nix.old 2012-08-05 17:45:22.915003686 +0200
--- default.nix 2012-08-05 17:48:18.281970907 +0200
***************
*** 2,8 ****

  assert stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux";

! let version = "0.8.3.278"; in

  stdenv.mkDerivation {
    name = "spotify-${version}";
--- 2,8 ----

  assert stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux";

! let version = "0.8.4.103"; in

  stdenv.mkDerivation {
    name = "spotify-${version}";
***************
*** 10,22 ****
    src =
      if stdenv.system == "i686-linux" then
        fetchurl {
!         url = "http://repository.spotify.com/pool/non-free/s/spotify/spotify-client_${version}.g21c7566.632-1_i386.deb";
!         sha256 = "7f587585365498c5182bd7f3beafaf511d883102f5cece66cf84f4f94077765b";
        }
      else if stdenv.system == "x86_64-linux" then
        fetchurl {
!         url = "http://repository.spotify.com/pool/non-free/s/spotify/spotify-client_${version}.g21c7566.632-1_amd64.deb";
!         sha256 = "a37a13b1c1a8088a811054c732d85b9d6ccf0bd92ad4da75bfee6d70dc344b5e";
        }
      else throw "Spotify not supported on this platform.";

--- 10,22 ----
    src =
      if stdenv.system == "i686-linux" then
        fetchurl {
!         url = "http://repository.spotify.com/pool/non-free/s/spotify/spotify-client_${version}.g9cb177b.260-1_i386.deb";
!         sha256 = "61502995da6b126eb6801bf92a8463a7fdd37dc6be0e0aba3560bdadde3531c7";
        }
      else if stdenv.system == "x86_64-linux" then
        fetchurl {
!         url = "http://repository.spotify.com/pool/non-free/s/spotify/spotify-client_${version}.g9cb177b.260-1_amd64.deb";
!         sha256 = "d350defa4164aaf129985df7e3ca33fc3f88aad2fac1637e6a26cc1794f3b378";
        }
      else throw "Spotify not supported on this platform.";

from nixpkgs.

Phreedom avatar Phreedom commented on July 28, 2024

This is obsolete. Spotify is working now.

from nixpkgs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.