ma pkgs.bin2iso: use mirror of original sources
This commit is contained in:
parent
9f06dc9a23
commit
e41e760620
@ -1,19 +1,17 @@
|
|||||||
{ stdenv, lib, pkgs, fetchurl }:
|
{ stdenv, lib, pkgs, fetchFromGitHub }:
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "bin2iso";
|
pname = "bin2iso";
|
||||||
version = "1.9b";
|
version = "1.9b";
|
||||||
_dlver = builtins.replaceStrings ["."] [""] version;
|
|
||||||
name = "${pname}-${version}";
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "http://users.eastlink.ca/~doiron/${pname}/linux/${pname}${_dlver}_linux.c";
|
owner = "einsteinx2";
|
||||||
sha256 = "0gg4hbzlm83nnbccy79dnxbwpn7lxl3fb87ka36mlclikvknm2hy";
|
repo = "bin2iso";
|
||||||
|
rev = "a08f6f93b833878dc009fe59da072643f06a7830";
|
||||||
|
sha256 = "1bnhj8z7wbq2v070zkx0xal6hx37y20a068gpy95zh13vihvbgh3";
|
||||||
};
|
};
|
||||||
|
|
||||||
unpackPhase = "true";
|
|
||||||
|
|
||||||
buildPhase =''
|
buildPhase =''
|
||||||
gcc -Wall -o $pname $src
|
gcc -Wall -o $pname $src/src/linux_macos/${pname}_v${version}_linux.c
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
@ -21,7 +19,7 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://users.eastlink.ca/~doiron/bin2iso/ ;
|
homepage = https://github.com/einsteinx2/bin2iso;
|
||||||
description = "converts bin+cue to iso";
|
description = "converts bin+cue to iso";
|
||||||
license = lib.licenses.gpl3;
|
license = lib.licenses.gpl3;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user