1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00

windows.mcfgthreads: unstable-2023-06-06 -> 1.6.1, refactor

This commit is contained in:
Weijia Wang 2024-01-06 17:27:33 +01:00
parent e8ab82a53c
commit 6e76f39f41

View file

@ -1,14 +1,18 @@
{ stdenv, fetchFromGitHub, autoreconfHook }:
{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
}:
stdenv.mkDerivation {
pname = "mcfgthreads";
version = "unstable-2023-06-06";
stdenv.mkDerivation rec {
pname = "mcfgthread";
version = "1.6.1";
src = fetchFromGitHub {
owner = "lhmouse";
repo = "mcfgthread";
rev = "f0a335ce926906d634c787249a89220045bf0f7e";
hash = "sha256-PLGIyoLdWgWvkHgRe0vHLIvnCxFpmHtbjS8xRhNM9Xw=";
rev = "v${lib.versions.majorMinor version}-ga.${lib.versions.patch version}";
hash = "sha256-FrmeaQhwLrNewS0HDlbWgCvVQ5U1l0jrw0YVuQdt9Ck=";
};
outputs = [ "out" "dev" ];
@ -16,4 +20,12 @@ stdenv.mkDerivation {
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;
};
}