diff options
author | Jeschli <jeschli@gmail.com> | 2020-04-14 20:36:21 +0200 |
---|---|---|
committer | Jeschli <jeschli@gmail.com> | 2020-04-14 20:36:21 +0200 |
commit | e5342b25c149f05db86983f3785ee395c156b435 (patch) | |
tree | e45270c08010c48c27a22643bd9a3a343b880eae /makefu/5pkgs/cc-tool | |
parent | 290b6a542527a0a48c11fc2b00aee2b4d7f7df06 (diff) | |
parent | 843a537bd7fbedd8eb5fd61a1172dd8229440606 (diff) |
Merge branch 'master' of https://cgit.lassul.us/stockholm
Diffstat (limited to 'makefu/5pkgs/cc-tool')
-rw-r--r-- | makefu/5pkgs/cc-tool/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/makefu/5pkgs/cc-tool/default.nix b/makefu/5pkgs/cc-tool/default.nix new file mode 100644 index 000000000..71d5f8a7d --- /dev/null +++ b/makefu/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; + }; +} |