diff options
author | Marek Mahut <marek.mahut@satoshilabs.com> | 2019-07-07 08:07:57 +0200 |
---|---|---|
committer | Marek Mahut <marek.mahut@satoshilabs.com> | 2019-07-11 22:41:12 +0200 |
commit | 1fb1d818608e46ae3def9ace7d8707a903151d9f (patch) | |
tree | 38f6836b245ba9cfa5ff0b76b33842b5d16779ed /pkgs/development/libraries/soundtouch | |
parent | c15930525d2ddfa7daa643b5839b2903e6e95c67 (diff) |
soundtouch: 2.0.0 -> 2.1.2
Diffstat (limited to 'pkgs/development/libraries/soundtouch')
-rw-r--r-- | pkgs/development/libraries/soundtouch/default.nix | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/pkgs/development/libraries/soundtouch/default.nix b/pkgs/development/libraries/soundtouch/default.nix index 95a97f30b6e62..71c7915c2ede6 100644 --- a/pkgs/development/libraries/soundtouch/default.nix +++ b/pkgs/development/libraries/soundtouch/default.nix @@ -1,22 +1,24 @@ -{stdenv, fetchurl, autoconf, automake, libtool}: +{stdenv, lib, fetchFromGitLab, autoconf, automake, libtool}: stdenv.mkDerivation rec { - pName = "soundtouch"; - name = "${pName}-2.0.0"; - src = fetchurl { - url = "https://www.surina.net/soundtouch/${name}.tar.gz"; - sha256 = "09cxr02mfyj2bg731bj0i9hh565x8l9p91aclxs8wpqv8b8zf96j"; + pname = "soundtouch"; + version = "2.1.2"; + + src = fetchFromGitLab { + owner = pname; + repo = pname; + rev = version; + sha256 = "174wgm3s0inmbnkrlnspxjwm2014qhjhkbdqa5r8rbfi0nzqxzsz"; }; - buildInputs = [ autoconf automake libtool ]; + nativeBuildInputs = [ autoconf automake libtool ]; preConfigure = "./bootstrap"; - meta = { - description = "A program and library for changing the tempo, pitch and playback rate of audio"; - homepage = http://www.surina.net/soundtouch/; - downloadPage = http://www.surina.net/soundtouch/sourcecode.html; - license = stdenv.lib.licenses.lgpl21; - platforms = stdenv.lib.platforms.all; + meta = with lib; { + description = "A program and library for changing the tempo, pitch and playback rate of audio"; + homepage = "http://www.surina.net/soundtouch/"; + license = licenses.lgpl21; + platforms = platforms.all; }; } |