diff options
author | lassulus <lassulus@lassul.us> | 2019-11-12 19:38:18 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2019-11-12 19:38:18 +0100 |
commit | 68668f3066126e4e9c051a5ba11899b2368b510f (patch) | |
tree | 49cf66347d5775812e5c14a8fae6fda6b3abd92d /makefu/5pkgs/bin2iso/default.nix | |
parent | c41e974b28e538f5e982e2daec134a2b12fa537b (diff) | |
parent | cb014289287ca198418fb7ce3a253c87e7adc662 (diff) |
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'makefu/5pkgs/bin2iso/default.nix')
-rw-r--r-- | makefu/5pkgs/bin2iso/default.nix | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/makefu/5pkgs/bin2iso/default.nix b/makefu/5pkgs/bin2iso/default.nix index 31d05fab3..676fa5b83 100644 --- a/makefu/5pkgs/bin2iso/default.nix +++ b/makefu/5pkgs/bin2iso/default.nix @@ -1,19 +1,17 @@ -{ stdenv, lib, pkgs, fetchurl }: +{ stdenv, lib, pkgs, fetchFromGitHub }: stdenv.mkDerivation rec { pname = "bin2iso"; version = "1.9b"; - _dlver = builtins.replaceStrings ["."] [""] version; - name = "${pname}-${version}"; - src = fetchurl { - url = "http://users.eastlink.ca/~doiron/${pname}/linux/${pname}${_dlver}_linux.c"; - sha256 = "0gg4hbzlm83nnbccy79dnxbwpn7lxl3fb87ka36mlclikvknm2hy"; + src = fetchFromGitHub { + owner = "einsteinx2"; + repo = "bin2iso"; + rev = "a08f6f93b833878dc009fe59da072643f06a7830"; + sha256 = "1bnhj8z7wbq2v070zkx0xal6hx37y20a068gpy95zh13vihvbgh3"; }; - unpackPhase = "true"; - buildPhase ='' - gcc -Wall -o $pname $src + gcc -Wall -o $pname $src/src/linux_macos/${pname}_v${version}_linux.c ''; installPhase = '' @@ -21,7 +19,7 @@ stdenv.mkDerivation rec { ''; meta = { - homepage = http://users.eastlink.ca/~doiron/bin2iso/ ; + homepage = https://github.com/einsteinx2/bin2iso; description = "converts bin+cue to iso"; license = lib.licenses.gpl3; }; |