core/pkgs/by-name/wi/windows/mcfgthreads/default.nix
2024-06-30 09:16:52 +01:00

34 lines
723 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
autoreconfHook,
}:
stdenv.mkDerivation rec {
pname = "mcfgthread";
version = "1.6.1";
src = fetchFromGitHub {
owner = "lhmouse";
repo = "mcfgthread";
rev = "v${lib.versions.majorMinor version}-ga.${lib.versions.patch version}";
hash = "sha256-FrmeaQhwLrNewS0HDlbWgCvVQ5U1l0jrw0YVuQdt9Ck=";
};
outputs = [
"out"
"dev"
];
nativeBuildInputs = [ autoreconfHook ];
meta = {
description = "A threading support library for Windows 7 and above";
homepage = "https://github.com/lhmouse/mcfgthread/wiki";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ wegank ];
platforms = lib.platforms.windows;
};
}