diff options
author | worldofpeace <worldofpeace@users.noreply.github.com> | 2019-02-26 20:25:50 -0500 |
---|---|---|
committer | worldofpeace <worldofpeace@users.noreply.github.com> | 2019-02-26 20:29:34 -0500 |
commit | 3fb66709ff870986bf64ed7b643c7c9f1bc012e1 (patch) | |
tree | 10315f2963709cef9dd8e85d8240ffe2945b96ea /pkgs/tools/cd-dvd/cuetools | |
parent | 99d338b130dac78984b9bf2061f6ad346cf9b44e (diff) |
cuetools: use fetchFromGitHub
Diffstat (limited to 'pkgs/tools/cd-dvd/cuetools')
-rw-r--r-- | pkgs/tools/cd-dvd/cuetools/default.nix | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/pkgs/tools/cd-dvd/cuetools/default.nix b/pkgs/tools/cd-dvd/cuetools/default.nix index 2911f61e249d..e4e34aa919b6 100644 --- a/pkgs/tools/cd-dvd/cuetools/default.nix +++ b/pkgs/tools/cd-dvd/cuetools/default.nix @@ -1,14 +1,16 @@ -{ stdenv, fetchurl, autoreconfHook +{ stdenv, fetchFromGitHub, autoreconfHook , bison, flac, flex, id3v2, vorbis-tools }: stdenv.mkDerivation rec { - name = "cuetools-${version}"; + pname = "cuetools"; version = "1.4.1"; - src = fetchurl { - url = "https://github.com/svend/cuetools/archive/${version}.tar.gz"; - sha256 = "01xi3rvdmil9nawsha04iagjylqr1l9v9vlzk99scs8c207l58i4"; + src = fetchFromGitHub { + owner = "svend"; + repo = pname; + rev = version; + sha256 = "02ksv1ahf1v4cr2xbclsfv5x17m9ivzbssb5r8xjm97yh8a7spa3"; }; nativeBuildInputs = [ autoreconfHook ]; |