Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
28 lines
618 B
Nix
28 lines
618 B
Nix
{
|
|
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 ];
|
|
};
|
|
}
|