core/pkgs/by-name/wi/windows/mcfgthreads/default.nix
2024-05-13 11:34:52 -04:00

32 lines
713 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;
};
}