Loading pkgs/misc/t-rec/default.nix→pkgs/by-name/t-/t-rec/package.nix +23 −20 Original line number Diff line number Diff line { lib, stdenv, imagemagick, ffmpeg, rustPlatform, fetchFromGitHub, makeWrapper, imagemagick, libiconv, Foundation, ffmpeg, versionCheckHook, nix-update-script, }: let binPath = lib.makeBinPath [ imagemagick ffmpeg ]; in rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage (finalAttrs: { pname = "t-rec"; version = "0.7.9"; src = fetchFromGitHub { owner = "sassman"; repo = "t-rec-rs"; rev = "v${version}"; rev = "v${finalAttrs.version}"; sha256 = "sha256-aQX+JJ2MwzzxJkA1vsE8JqvYpWtqyycvycPc2pyFU7g="; }; cargoHash = "sha256-AgSYM2a9XGH2X4dcp5CSMnt0Bq/5XT8C3g1R2UX4mLY="; nativeBuildInputs = [ makeWrapper ]; buildInputs = [ imagemagick ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ libiconv Foundation ]; postInstall = '' wrapProgram "$out/bin/t-rec" --prefix PATH : "${binPath}" wrapProgram "$out/bin/t-rec" --prefix PATH : "${ lib.makeBinPath [ imagemagick ffmpeg ] }" ''; useFetchCargoVendor = true; cargoHash = "sha256-AgSYM2a9XGH2X4dcp5CSMnt0Bq/5XT8C3g1R2UX4mLY="; doInstallCheck = true; nativeInstallCheckInputs = [ versionCheckHook ]; passthru.updateScript = nix-update-script { }; meta = with lib; { meta = { description = "Blazingly fast terminal recorder that generates animated gif images for the web written in rust"; homepage = "https://github.com/sassman/t-rec-rs"; license = with licenses; [ gpl3Only ]; maintainers = with maintainers; [ changelog = "https://github.com/sassman/t-rec-rs/releases/tag/v${finalAttrs.version}"; license = with lib.licenses; [ gpl3Only ]; maintainers = with lib.maintainers; [ hoverbear matthiasbeyer ]; mainProgram = "t-rec"; }; } }) pkgs/top-level/all-packages.nix +0 −4 Original line number Diff line number Diff line Loading @@ -16374,10 +16374,6 @@ with pkgs; tests-stdenv-gcc-stageCompare = callPackage ../test/stdenv/gcc-stageCompare.nix { }; t-rec = callPackage ../misc/t-rec { inherit (darwin.apple_sdk.frameworks) Foundation; }; twinkle = qt5.callPackage ../applications/networking/instant-messengers/twinkle { }; terminal-typeracer = callPackage ../applications/misc/terminal-typeracer { Loading Loading
pkgs/misc/t-rec/default.nix→pkgs/by-name/t-/t-rec/package.nix +23 −20 Original line number Diff line number Diff line { lib, stdenv, imagemagick, ffmpeg, rustPlatform, fetchFromGitHub, makeWrapper, imagemagick, libiconv, Foundation, ffmpeg, versionCheckHook, nix-update-script, }: let binPath = lib.makeBinPath [ imagemagick ffmpeg ]; in rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage (finalAttrs: { pname = "t-rec"; version = "0.7.9"; src = fetchFromGitHub { owner = "sassman"; repo = "t-rec-rs"; rev = "v${version}"; rev = "v${finalAttrs.version}"; sha256 = "sha256-aQX+JJ2MwzzxJkA1vsE8JqvYpWtqyycvycPc2pyFU7g="; }; cargoHash = "sha256-AgSYM2a9XGH2X4dcp5CSMnt0Bq/5XT8C3g1R2UX4mLY="; nativeBuildInputs = [ makeWrapper ]; buildInputs = [ imagemagick ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ libiconv Foundation ]; postInstall = '' wrapProgram "$out/bin/t-rec" --prefix PATH : "${binPath}" wrapProgram "$out/bin/t-rec" --prefix PATH : "${ lib.makeBinPath [ imagemagick ffmpeg ] }" ''; useFetchCargoVendor = true; cargoHash = "sha256-AgSYM2a9XGH2X4dcp5CSMnt0Bq/5XT8C3g1R2UX4mLY="; doInstallCheck = true; nativeInstallCheckInputs = [ versionCheckHook ]; passthru.updateScript = nix-update-script { }; meta = with lib; { meta = { description = "Blazingly fast terminal recorder that generates animated gif images for the web written in rust"; homepage = "https://github.com/sassman/t-rec-rs"; license = with licenses; [ gpl3Only ]; maintainers = with maintainers; [ changelog = "https://github.com/sassman/t-rec-rs/releases/tag/v${finalAttrs.version}"; license = with lib.licenses; [ gpl3Only ]; maintainers = with lib.maintainers; [ hoverbear matthiasbeyer ]; mainProgram = "t-rec"; }; } })
pkgs/top-level/all-packages.nix +0 −4 Original line number Diff line number Diff line Loading @@ -16374,10 +16374,6 @@ with pkgs; tests-stdenv-gcc-stageCompare = callPackage ../test/stdenv/gcc-stageCompare.nix { }; t-rec = callPackage ../misc/t-rec { inherit (darwin.apple_sdk.frameworks) Foundation; }; twinkle = qt5.callPackage ../applications/networking/instant-messengers/twinkle { }; terminal-typeracer = callPackage ../applications/misc/terminal-typeracer { Loading