windows.dlfcn: init at 1.3.1

This commit is contained in:
marius david 2023-04-23 16:22:01 +02:00 committed by Artturin
parent 2eeb227d77
commit 097d59184b
2 changed files with 25 additions and 0 deletions

View File

@ -6,6 +6,8 @@ lib.makeScope newScope (self: with self; {
cygwinSetup = callPackage ./cygwin-setup { };
dlfcn = callPackage ./dlfcn { };
jom = callPackage ./jom { };
w32api = callPackage ./w32api { };

View File

@ -0,0 +1,23 @@
{ stdenv, lib, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "dlfcn";
version = "1.3.1";
src = fetchFromGitHub {
owner = "dlfcn-win32";
repo = "dlfcn-win32";
rev = "v${version}";
sha256 = "sha256-ljVTMBiGp8TPufrQcK4zQtcVH1To4zcfBAbUOb+v910=";
};
nativeBuildInputs = [ cmake ];
meta = with lib; {
homepage = "https://github.com/dlfcn-win32/dlfcn-win32";
description = "Set of functions that allows runtime dynamic library loading";
license = licenses.mit;
platforms = platforms.windows;
maintainers = with maintainers; [ marius851000 ];
};
}