Files
2025-10-28 21:57:27 -04:00

32 lines
689 B
Nix

{
stdenv,
lib,
fetchFromGitHub,
cmake,
nix-update-script,
}:
stdenv.mkDerivation rec {
pname = "dlfcn";
version = "1.4.2";
src = fetchFromGitHub {
owner = "dlfcn-win32";
repo = "dlfcn-win32";
tag = "v${version}";
hash = "sha256-kLY8vvHTT02gENPlVvyDyR0ULC8NA+E/P6mWtU6MbBY=";
};
nativeBuildInputs = [ cmake ];
passthru.updateScript = nix-update-script { };
meta = {
homepage = "https://github.com/dlfcn-win32/dlfcn-win32";
description = "Set of functions that allows runtime dynamic library loading";
license = lib.licenses.mit;
platforms = lib.platforms.windows;
maintainers = with lib.maintainers; [ marius851000 ];
};
}