Merge pull request #254311 from bdd/blisp-v0.0.4

blisp: unstable-2023-06-03 -> 0.0.4

authored by Weijia Wang and committed by GitHub 4ac0fc0e 31f038a1

+13 -8
+13 -8
pkgs/development/embedded/blisp/default.nix
··· 5 5 , cmake 6 6 , libserialport 7 7 , pkg-config 8 + , testers 8 9 , IOKit 9 10 }: 10 11 11 - stdenv.mkDerivation { 12 + stdenv.mkDerivation (finalAttrs: { 12 13 pname = "blisp"; 13 - version = "unstable-2023-06-03"; 14 + version = "0.0.4"; 14 15 15 16 src = fetchFromGitHub { 16 17 owner = "pine64"; 17 18 repo = "blisp"; 18 - rev = "048a72408218788d519a87bcdfb23bcf9ed91a84"; 19 - hash = "sha256-hipJrr0D4uEN2hk8ooXeg0gv0X3w4U9ReXbC4oPEPwI="; 19 + rev = "v${finalAttrs.version}"; 20 + hash = "sha256-cN35VLbdQFA3KTZ8PxgpbsLGXqfFhw5eh3nEBRZqAm4="; 20 21 }; 21 22 22 23 nativeBuildInputs = [ cmake pkg-config ]; ··· 31 32 "-DBLISP_USE_SYSTEM_LIBRARIES=ON" 32 33 ]; 33 34 35 + passthru.tests.version = testers.testVersion { 36 + package = finalAttrs.finalPackage; 37 + version = "v${finalAttrs.version}"; 38 + }; 39 + 34 40 meta = with lib; { 35 - description = "ISP tool & library for Bouffalo Labs RISC-V Microcontrollers and SoCs"; 41 + description = "An In-System-Programming (ISP) tool & library for Bouffalo Labs RISC-V Microcontrollers and SoCs"; 36 42 license = licenses.mit; 43 + mainProgram = "blisp"; 37 44 homepage = "https://github.com/pine64/blisp"; 38 45 maintainers = [ maintainers.fortuneteller2k ]; 39 46 }; 40 - } 41 - # TODO: update when next stable release supports building without vendored 42 - # libraries 47 + })