1 { stdenv, lib, fetchurl }:
3 mkCmdPackDerivation = { pname, postInstall ? "", description }: stdenv.mkDerivation {
4 inherit pname postInstall;
9 url = "https://web.archive.org/web/20140330233023/http://www.neillcorlett.com/downloads/cmdpack-1.03-src.tar.gz";
10 sha256 = "0v0a9rpv59w8lsp1cs8f65568qj65kd9qp7854z1ivfxfpq0da2n";
16 $CC -o "$pname" "src/$pname.c"
24 install -Dm555 -t "$out/bin" "$pname"
32 homepage = "https://web.archive.org/web/20140330233023/http://www.neillcorlett.com/cmdpack/";
33 platforms = platforms.all;
34 license = licenses.gpl3Plus;
35 maintainers = with maintainers; [ zane ];
40 bin2iso = mkCmdPackDerivation {
42 description = "Convert CD .BIN to .ISO";
45 bincomp = mkCmdPackDerivation {
47 description = "Compare binary files";
50 brrrip = mkCmdPackDerivation {
52 description = "Rip SNES BRR sound samples";
55 byteshuf = mkCmdPackDerivation {
57 description = "Shuffle or unshuffle bytes in a file";
60 byteswap = mkCmdPackDerivation {
62 description = "Swap byte order of files";
65 cdpatch = mkCmdPackDerivation {
67 description = "CD-XA image insert/extract utility";
70 ecm = mkCmdPackDerivation {
72 postInstall = "ln $out/bin/ecm $out/bin/unecm";
73 description = "Encoder/decoder for Error Code Modeler format";
76 fakecrc = mkCmdPackDerivation {
78 description = "Fake the CRC32 of a file";
81 hax65816 = mkCmdPackDerivation {
83 description = "Simple 65816 disassembler";
86 id3point = mkCmdPackDerivation {
88 description = "Pointless ID3v1 Tagger";
91 pecompat = mkCmdPackDerivation {
93 description = "Maximize compatibility of a Win32 PE file";
96 rels = mkCmdPackDerivation {
98 description = "Relative Searcher";
101 screamf = mkCmdPackDerivation {
103 description = ".AMF to .S3M converter";
106 subfile = mkCmdPackDerivation {
108 description = "Extract a portion of a file";
111 uips = mkCmdPackDerivation {
113 description = "Universal IPS patch create/apply utility";
116 usfv = mkCmdPackDerivation {
118 description = "Universal SFV create/verify utility";
121 vb2rip = mkCmdPackDerivation {
123 description = "VB2 sound format ripping utility";
126 wordadd = mkCmdPackDerivation {
128 description = "Addition word puzzle solver";
131 zerofill = mkCmdPackDerivation {
133 description = "Create a large, empty file";