7 stdenv.mkDerivation (finalAttrs: {
8 pname = "missidentify";
12 url = "mirror://sourceforge/project/missidentify/missidentify/missidentify-${finalAttrs.version}/missidentify-${finalAttrs.version}.tar.gz";
13 hash = "sha256-nnIRN8hpKM0IZCe0HUrrJGrxvBYKeBmdU168rlo8op0=";
17 # define PATH_MAX variable to fix a FTBFS in Hurd.
19 name = "fix-FTBFS-Hurd.patch";
20 url = "https://salsa.debian.org/pkg-security-team/missidentify/-/raw/14b7169c3157dbad65fc80fdd82ec6634df20ffd/debian/patches/fix-FTBFS-Hurd.patch";
21 hash = "sha256-wGEzTfT76s5Q7s/5s913c4x9MMn9c0v/4Lhr+QakPQY=";
23 # fix a hyphen used as minus sign and a typo in manpage.
25 name = "fix-manpage.patch";
26 url = "https://salsa.debian.org/pkg-security-team/missidentify/-/raw/14b7169c3157dbad65fc80fdd82ec6634df20ffd/debian/patches/fix-manpage.patch";
27 hash = "sha256-7LzQs6ETRSjdnEhlKOVWC3grevwOmGs0h4Z6AYGysD8=";
30 ./fix-darwin-build.patch
33 nativeBuildInputs = [ autoreconfHook ];
35 configureFlags = lib.optionals (stdenv.hostPlatform.isAarch32 || stdenv.hostPlatform.isAarch64) [ "--build=arm" ];
38 description = "Find Win32 applications";
40 Miss Identify is a program to find Win32 applications. In
41 its default mode it displays the filename of any executable
42 that does not have an executable extension (i.e. exe, dll,
43 com, sys, cpl, hxs, hxi, olb, rll, or tlb). The program can
44 also be run to display all executables encountered,
45 regardless of the extension. This is handy when looking
46 for all of the executables on a drive. Other options allow
47 the user to record the strings found in an executable and
50 mainProgram = "missidentify";
51 homepage = "https://missidentify.sourceforge.net";
52 maintainers = with maintainers; [ d3vil0p3r ];
53 platforms = platforms.unix;
54 license = licenses.gpl2Only;