diff options
author | makefu <github@syntax-fehler.de> | 2020-03-13 10:40:11 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2020-03-13 10:40:11 +0100 |
commit | f3756d59d851b60ccab2a2743b4de8118835e12d (patch) | |
tree | 9f80c9cfb0a86fb94825940c0a7442267498e857 /5pkgs/cc-tool/default.nix | |
parent | 1c3c41c5ff0aa5310fb982ee1183166910275754 (diff) |
ma pkgs: add cc-tool,liveproxy
Diffstat (limited to '5pkgs/cc-tool/default.nix')
-rw-r--r-- | 5pkgs/cc-tool/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/5pkgs/cc-tool/default.nix b/5pkgs/cc-tool/default.nix new file mode 100644 index 000000000..71d5f8a7d --- /dev/null +++ b/5pkgs/cc-tool/default.nix @@ -0,0 +1,32 @@ +{ stdenv, lib, pkgs, autoreconfHook ,libtool, fetchFromGitHub, boost, libusb1, +pkgconfig,file }: +stdenv.mkDerivation rec { + pname = "cc-tool"; + version = "407fd7e"; + name = "${pname}-${version}"; + + src = fetchFromGitHub { + owner = "dashesy"; + repo = "cc-tool"; + rev = version; + sha256 = "1q7zqib4rn5l8clk2hj7078rfyrjdwxzpyg4r10is31lq22zhxqj"; + }; + + buildInputs = [ boost libtool libusb1 pkgconfig autoreconfHook ]; + + preConfigure = '' + substituteInPlace configure \ + --replace /usr/bin/file ${file}/bin/file + + ''; + + postInstall = '' + install -m755 -D ./udev/90-cc-debugger.rules $out/etc/udev/rules.d/90-cc-debugger.rules + ''; + + meta = { + homepage = https://github.com/AKuHAK/hdl-dump ; + description = "copy isos to psx hdd"; + license = lib.licenses.gpl2; + }; +} |