depot/third_party/nixpkgs/pkgs/development/tools/gendef/default.nix

24 lines
667 B
Nix
Raw Normal View History

{ fetchgit, lib, stdenv }:
stdenv.mkDerivation (finalAttrs: {
pname = "gendef";
version = "11.0.1";
src = fetchgit {
url = "https://git.code.sf.net/p/mingw-w64/mingw-w64.git";
rev = "v${finalAttrs.version}";
hash = "sha256-0vbAHSN+uwxoXXZtbuycP67PxjcB8Ftxd/Oij1gqE3Y=";
};
sourceRoot = "${finalAttrs.src.name}/mingw-w64-tools/gendef";
meta = {
description = "Tool which generate def files from DLLs";
mainProgram = "gendef";
homepage = "https://sourceforge.net/p/mingw-w64/wiki2/gendef/";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ hughobrien ];
platforms = lib.platforms.linux;
};
})