diff options
author | tv <tv@krebsco.de> | 2018-01-09 19:06:50 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2018-01-09 19:06:50 +0100 |
commit | 8ff5c5e992ebafeca5edb2b22a0ab700edc715a5 (patch) | |
tree | e141f28bca4e5494669282d41c1c8dbbc96b4ce8 /makefu/5pkgs/bin2iso | |
parent | fb0bbec70ae1a0dd4fdc3c9bc9ed47f2a8573fd9 (diff) | |
parent | 5ef3a2c6caa2f018c2adf795de992e0487dd2413 (diff) |
Merge remote-tracking branch 'prism/master'
Diffstat (limited to 'makefu/5pkgs/bin2iso')
-rw-r--r-- | makefu/5pkgs/bin2iso/default.nix | 28 |
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; + }; +} |