mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
windows.mcfgthreads: unstable-2023-06-06 -> 1.6.1, refactor
This commit is contained in:
parent
e8ab82a53c
commit
6e76f39f41
@ -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;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user