Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 28 lines 618 B view raw
1{ 2 stdenv, 3 lib, 4 fetchFromGitHub, 5 cmake, 6}: 7 8stdenv.mkDerivation rec { 9 pname = "dlfcn"; 10 version = "1.3.1"; 11 12 src = fetchFromGitHub { 13 owner = "dlfcn-win32"; 14 repo = "dlfcn-win32"; 15 rev = "v${version}"; 16 sha256 = "sha256-ljVTMBiGp8TPufrQcK4zQtcVH1To4zcfBAbUOb+v910="; 17 }; 18 19 nativeBuildInputs = [ cmake ]; 20 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 }; 28}