zasm: 4.4.7 -> 4.4.17

Diff: https://github.com/megatokio/zasm/compare/4.4.7...4.4.17

emaryn 2a773a1b f7cbcfd0

+16 -23
+16 -23
pkgs/by-name/za/zasm/package.nix
··· 4 fetchFromGitHub, 5 zlib, 6 }: 7 - let 8 - libs-src = fetchFromGitHub { 9 - owner = "megatokio"; 10 - repo = "Libraries"; 11 - # 2021-02-02 12 - rev = "c5cb3ed512c677db6f33e2d3539dfbb6e547030b"; 13 - sha256 = "sha256-GiplhZf640uScVdKL6E/fegOgtC9SE1xgBqcX86XADk="; 14 - }; 15 - in 16 - stdenv.mkDerivation rec { 17 pname = "zasm"; 18 - version = "4.4.7"; 19 20 src = fetchFromGitHub { 21 owner = "megatokio"; 22 repo = "zasm"; 23 - rev = version; 24 - sha256 = "sha256-Zbno8kmzss1H2FjwzHB4U7UXxa6oDfsPV80MVVFfM68="; 25 postFetch = '' 26 # remove folder containing files with weird names (causes the hash to turn out differently under macOS vs. Linux) 27 rm -rv $out/Test ··· 30 31 buildInputs = [ zlib ]; 32 33 - configurePhase = '' 34 - ln -sf ${libs-src} Libraries 35 - ''; 36 - 37 makeFlags = [ 38 "CC=${stdenv.cc.targetPrefix}cc" 39 "CXX=${stdenv.cc.targetPrefix}c++" ··· 42 ]; 43 44 installPhase = '' 45 install -Dm755 -t $out/bin zasm 46 ''; 47 48 - meta = with lib; { 49 description = "Z80 / 8080 / Z180 assembler (for unix-style OS)"; 50 mainProgram = "zasm"; 51 homepage = "https://k1.spdns.de/Develop/Projects/zasm/Distributions/"; 52 - license = licenses.bsd2; 53 - maintainers = [ maintainers.turbomack ]; 54 - platforms = platforms.unix; 55 - badPlatforms = platforms.aarch64; 56 }; 57 - }
··· 4 fetchFromGitHub, 5 zlib, 6 }: 7 + 8 + stdenv.mkDerivation (finalAttrs: { 9 pname = "zasm"; 10 + version = "4.4.17"; 11 12 src = fetchFromGitHub { 13 owner = "megatokio"; 14 repo = "zasm"; 15 + tag = finalAttrs.version; 16 + fetchSubmodules = true; 17 + hash = "sha256-nc8hlGfix9eVTP5ZimmLKv22cdfsKRfrG70brpUh6CA="; 18 postFetch = '' 19 # remove folder containing files with weird names (causes the hash to turn out differently under macOS vs. Linux) 20 rm -rv $out/Test ··· 23 24 buildInputs = [ zlib ]; 25 26 makeFlags = [ 27 "CC=${stdenv.cc.targetPrefix}cc" 28 "CXX=${stdenv.cc.targetPrefix}c++" ··· 31 ]; 32 33 installPhase = '' 34 + runHook preInstall 35 + 36 install -Dm755 -t $out/bin zasm 37 + 38 + runHook postInstall 39 ''; 40 41 + meta = { 42 description = "Z80 / 8080 / Z180 assembler (for unix-style OS)"; 43 mainProgram = "zasm"; 44 homepage = "https://k1.spdns.de/Develop/Projects/zasm/Distributions/"; 45 + license = lib.licenses.bsd2; 46 + maintainers = [ lib.maintainers.turbomack ]; 47 + platforms = lib.platforms.unix; 48 + badPlatforms = lib.platforms.aarch64; 49 }; 50 + })