Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 fetchFromGitea, 5}: 6 7stdenv.mkDerivation (finalAttrs: { 8 pname = "dev86"; 9 version = "1.0.1"; 10 11 src = fetchFromGitea { 12 domain = "codeberg.org"; 13 owner = "jbruchon"; 14 repo = "dev86"; 15 tag = "v${finalAttrs.version}"; 16 hash = "sha256-xeOtESc0X7RZWCIpNZSHE8au9+opXwnHsAcayYLSX7w="; 17 }; 18 19 makeFlags = [ "PREFIX=${placeholder "out"}" ]; 20 21 meta = { 22 homepage = "https://codeberg.org/jbruchon/dev86"; 23 description = "C compiler, assembler and linker environment for the production of 8086 executables"; 24 license = lib.licenses.gpl2Plus; 25 maintainers = with lib.maintainers; [ 26 sigmasquadron 27 ]; 28 platforms = lib.platforms.linux; 29 }; 30})