lol
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #183259 from fgaz/heatshrink/init

authored by

Sandro and committed by
GitHub
800e17f2 9ff5c9d1

+45
+43
pkgs/tools/compression/heatshrink/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + }: 5 + 6 + stdenv.mkDerivation rec { 7 + pname = "heatshrink"; 8 + version = "0.4.1"; 9 + 10 + src = fetchFromGitHub { 11 + owner = "atomicobject"; 12 + repo = "heatshrink"; 13 + rev = "v${version}"; 14 + hash = "sha256-Nm9/+JFMDXY1N90hmNFGh755V2sXSRQ4VBN9f8TcsGk="; 15 + }; 16 + 17 + makeFlags = [ "PREFIX=$(out)" ]; 18 + 19 + preInstall = '' 20 + mkdir -p $out/{bin,lib,include} 21 + ''; 22 + 23 + doCheck = true; 24 + checkTarget = "test"; 25 + 26 + doInstallCheck = true; 27 + installCheckPhase = '' 28 + runHook preInstallCheck 29 + echo "Hello world" | \ 30 + $out/bin/heatshrink -e - | \ 31 + $out/bin/heatshrink -d - | \ 32 + grep "Hello world" 33 + runHook postInstallCheck 34 + ''; 35 + 36 + meta = with lib; { 37 + description = "A data compression/decompression library for embedded/real-time systems"; 38 + homepage = "https://github.com/atomicobject/heatshrink"; 39 + license = licenses.isc; 40 + maintainers = with maintainers; [ fgaz ]; 41 + platforms = platforms.all; 42 + }; 43 + }
+2
pkgs/top-level/all-packages.nix
··· 7257 7257 7258 7258 heaptrack = libsForQt5.callPackage ../development/tools/profiling/heaptrack {}; 7259 7259 7260 + heatshrink = callPackage ../tools/compression/heatshrink { }; 7261 + 7260 7262 heimdall = libsForQt5.callPackage ../tools/misc/heimdall { }; 7261 7263 7262 7264 heimdall-gui = heimdall.override { enableGUI = true; };