From c203a46e62f7c7505ada5a0cc2d1c9111ed6152b Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Sat, 21 Dec 2024 13:23:23 +0100 Subject: [PATCH 1/2] dev86: unstable-2022-07-19 -> 1.0.1 --- pkgs/by-name/de/dev86/package.nix | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/pkgs/by-name/de/dev86/package.nix b/pkgs/by-name/de/dev86/package.nix index e3da58d11f749..de9a258469cbd 100644 --- a/pkgs/by-name/de/dev86/package.nix +++ b/pkgs/by-name/de/dev86/package.nix @@ -1,31 +1,24 @@ { lib , stdenv -, fetchFromGitHub +, fetchFromGitea }: stdenv.mkDerivation (finalAttrs: { pname = "dev86"; - version = "unstable-2022-07-19"; + version = "1.0.1"; - src = fetchFromGitHub { + src = fetchFromGitea { + domain = "codeberg.org"; owner = "jbruchon"; repo = "dev86"; - rev = "f5cd3e5c17a0d3cd8298bac8e30bed6e59c4e57a"; - hash = "sha256-CWeboFkJkpKHZ/wkuvMj5a+5qB2uzAtoYy8OdyYErMg="; + tag = "v${finalAttrs.version}"; + hash = "sha256-xeOtESc0X7RZWCIpNZSHE8au9+opXwnHsAcayYLSX7w="; }; makeFlags = [ "PREFIX=${placeholder "out"}" ]; - # Parallel builds are not supported due to build process structure: tools are - # built sequentially in submakefiles and are reusing the same targets as - # dependencies. Building dependencies in parallel from different submakes is - # not synchronized and fails: - # make[3]: Entering directory '/build/dev86-0.16.21/libc' - # Unable to execute as86. - enableParallelBuilding = false; - meta = { - homepage = "https://github.com/jbruchon/dev86"; + homepage = "https://codeberg.org/jbruchon/dev86"; description = "C compiler, assembler and linker environment for the production of 8086 executables"; license = lib.licenses.gpl2Plus; From 33ca23f6f5ad343e21bf4f3f6538f9507a1feb45 Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Sat, 21 Dec 2024 13:23:48 +0100 Subject: [PATCH 2/2] dev86: reformat --- pkgs/by-name/de/dev86/package.nix | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/pkgs/by-name/de/dev86/package.nix b/pkgs/by-name/de/dev86/package.nix index de9a258469cbd..bed0d6c264568 100644 --- a/pkgs/by-name/de/dev86/package.nix +++ b/pkgs/by-name/de/dev86/package.nix @@ -1,6 +1,7 @@ -{ lib -, stdenv -, fetchFromGitea +{ + lib, + stdenv, + fetchFromGitea, }: stdenv.mkDerivation (finalAttrs: { @@ -19,10 +20,12 @@ stdenv.mkDerivation (finalAttrs: { meta = { homepage = "https://codeberg.org/jbruchon/dev86"; - description = - "C compiler, assembler and linker environment for the production of 8086 executables"; + description = "C compiler, assembler and linker environment for the production of 8086 executables"; license = lib.licenses.gpl2Plus; - maintainers = with lib.maintainers; [ AndersonTorres sigmasquadron ]; + maintainers = with lib.maintainers; [ + AndersonTorres + sigmasquadron + ]; platforms = lib.platforms.linux; }; })