pulsar: 1.124.0 -> 1.125.0 (#376475)
[NixPkgs.git] / pkgs / os-specific / windows / dlfcn / default.nix
blob1f4ea20d550dacfe2a264ca3f74c8d78f8951a34
2   stdenv,
3   lib,
4   fetchFromGitHub,
5   cmake,
6 }:
8 stdenv.mkDerivation rec {
9   pname = "dlfcn";
10   version = "1.3.1";
12   src = fetchFromGitHub {
13     owner = "dlfcn-win32";
14     repo = "dlfcn-win32";
15     rev = "v${version}";
16     sha256 = "sha256-ljVTMBiGp8TPufrQcK4zQtcVH1To4zcfBAbUOb+v910=";
17   };
19   nativeBuildInputs = [ cmake ];
21   meta = with lib; {
22     homepage = "https://github.com/dlfcn-win32/dlfcn-win32";
23     description = "Set of functions that allows runtime dynamic library loading";
24     license = licenses.mit;
25     platforms = platforms.windows;
26     maintainers = with maintainers; [ marius851000 ];
27   };