cuetools: use fetchFromGitHub
This commit is contained in:
parent
99d338b130
commit
3fb66709ff
1 changed files with 7 additions and 5 deletions
|
@ -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 ];
|
||||
|
|
Loading…
Reference in a new issue