about summary refs log tree commit diff
path: root/pkgs/os-specific/windows/dlfcn/default.nix
blob: d1fba98e840a243d74a1853284e62e8cb0a2cbe0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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 ];
  };
}