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