summaryrefslogtreecommitdiffstats
path: root/makefu/5pkgs/bin2iso
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2018-01-05 15:57:01 +0100
committerlassulus <lassulus@lassul.us>2018-01-05 15:57:01 +0100
commitcf49b9d015db6f4b149f964bd03e730a295ab750 (patch)
tree55859577cc18d2d60a7fbfd6546ca0d74777a2a9 /makefu/5pkgs/bin2iso
parentd1f1bf83547ef139d1671a706e28657e32e47da3 (diff)
parent801f2f0926d665fb2a3c2fd9184706a2235fe960 (diff)
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'makefu/5pkgs/bin2iso')
-rw-r--r--makefu/5pkgs/bin2iso/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/makefu/5pkgs/bin2iso/default.nix b/makefu/5pkgs/bin2iso/default.nix
new file mode 100644
index 000000000..31d05fab3
--- /dev/null
+++ b/makefu/5pkgs/bin2iso/default.nix
@@ -0,0 +1,28 @@
+{ stdenv, lib, pkgs, fetchurl }:
+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";
+ };
+
+ unpackPhase = "true";
+
+ buildPhase =''
+ gcc -Wall -o $pname $src
+ '';
+
+ installPhase = ''
+ install -Dm755 $pname $out/bin/$pname
+ '';
+
+ meta = {
+ homepage = http://users.eastlink.ca/~doiron/bin2iso/ ;
+ description = "converts bin+cue to iso";
+ license = lib.licenses.gpl3;
+ };
+}