Loading pkgs/by-name/ta/tailspin/package.nix +16 −7 Original line number Diff line number Diff line Loading @@ -3,16 +3,18 @@ rustPlatform, fetchFromGitHub, stdenv, versionCheckHook, nix-update-script, }: rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage (finalAttrs: { pname = "tailspin"; version = "4.0.0"; src = fetchFromGitHub { owner = "bensadeh"; repo = "tailspin"; rev = version; tag = finalAttrs.version; hash = "sha256-5VbxQDK69If5N8EiS8sIKNqHkCAfquOz8nUS7ynp+nA="; }; Loading @@ -24,12 +26,19 @@ rustPlatform.buildRustPackage rec { 'target/debug' "target/${stdenv.hostPlatform.rust.rustcTargetSpec}/$cargoCheckType" ''; meta = with lib; { nativeInstallCheckInputs = [ versionCheckHook ]; versionCheckProgram = "${placeholder "out"}/bin/tspin"; versionCheckProgramArg = "--version"; doInstallCheck = true; passthru.updateScript = nix-update-script { }; meta = { description = "Log file highlighter"; homepage = "https://github.com/bensadeh/tailspin"; changelog = "https://github.com/bensadeh/tailspin/blob/${version}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ dit7ya ]; changelog = "https://github.com/bensadeh/tailspin/blob/${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ dit7ya ]; mainProgram = "tspin"; }; } }) Loading
pkgs/by-name/ta/tailspin/package.nix +16 −7 Original line number Diff line number Diff line Loading @@ -3,16 +3,18 @@ rustPlatform, fetchFromGitHub, stdenv, versionCheckHook, nix-update-script, }: rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage (finalAttrs: { pname = "tailspin"; version = "4.0.0"; src = fetchFromGitHub { owner = "bensadeh"; repo = "tailspin"; rev = version; tag = finalAttrs.version; hash = "sha256-5VbxQDK69If5N8EiS8sIKNqHkCAfquOz8nUS7ynp+nA="; }; Loading @@ -24,12 +26,19 @@ rustPlatform.buildRustPackage rec { 'target/debug' "target/${stdenv.hostPlatform.rust.rustcTargetSpec}/$cargoCheckType" ''; meta = with lib; { nativeInstallCheckInputs = [ versionCheckHook ]; versionCheckProgram = "${placeholder "out"}/bin/tspin"; versionCheckProgramArg = "--version"; doInstallCheck = true; passthru.updateScript = nix-update-script { }; meta = { description = "Log file highlighter"; homepage = "https://github.com/bensadeh/tailspin"; changelog = "https://github.com/bensadeh/tailspin/blob/${version}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ dit7ya ]; changelog = "https://github.com/bensadeh/tailspin/blob/${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ dit7ya ]; mainProgram = "tspin"; }; } })