Loading pkgs/by-name/as/asciinema_3/package.nix +7 −11 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ installShellFiles, python3, rustPlatform, testers, versionCheckHook, }: rustPlatform.buildRustPackage (finalAttrs: { Loading @@ -12,10 +12,9 @@ rustPlatform.buildRustPackage (finalAttrs: { version = "3.0.1"; src = fetchFromGitHub { name = "asciinema-source-${finalAttrs.version}"; owner = "asciinema"; repo = "asciinema"; rev = "v${finalAttrs.version}"; tag = "v${finalAttrs.version}"; hash = "sha256-jWRq/LeDdCETiOMkWr9EIWztb14IYGCSo05QPw5HZZk="; }; Loading @@ -23,6 +22,8 @@ rustPlatform.buildRustPackage (finalAttrs: { env.ASCIINEMA_GEN_DIR = "gendir"; strictDeps = true; nativeCheckInputs = [ python3 ]; nativeBuildInputs = [ installShellFiles ]; Loading @@ -34,14 +35,9 @@ rustPlatform.buildRustPackage (finalAttrs: { --zsh gendir/completion/_asciinema ''; strictDeps = true; passthru = { tests.version = testers.testVersion { package = finalAttrs.finalPackage; command = "asciinema --version"; }; }; doInstallCheck = true; nativeInstallCheckInputs = [ versionCheckHook ]; versionCheckProgramArg = "--version"; meta = { homepage = "https://asciinema.org/"; Loading Loading
pkgs/by-name/as/asciinema_3/package.nix +7 −11 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ installShellFiles, python3, rustPlatform, testers, versionCheckHook, }: rustPlatform.buildRustPackage (finalAttrs: { Loading @@ -12,10 +12,9 @@ rustPlatform.buildRustPackage (finalAttrs: { version = "3.0.1"; src = fetchFromGitHub { name = "asciinema-source-${finalAttrs.version}"; owner = "asciinema"; repo = "asciinema"; rev = "v${finalAttrs.version}"; tag = "v${finalAttrs.version}"; hash = "sha256-jWRq/LeDdCETiOMkWr9EIWztb14IYGCSo05QPw5HZZk="; }; Loading @@ -23,6 +22,8 @@ rustPlatform.buildRustPackage (finalAttrs: { env.ASCIINEMA_GEN_DIR = "gendir"; strictDeps = true; nativeCheckInputs = [ python3 ]; nativeBuildInputs = [ installShellFiles ]; Loading @@ -34,14 +35,9 @@ rustPlatform.buildRustPackage (finalAttrs: { --zsh gendir/completion/_asciinema ''; strictDeps = true; passthru = { tests.version = testers.testVersion { package = finalAttrs.finalPackage; command = "asciinema --version"; }; }; doInstallCheck = true; nativeInstallCheckInputs = [ versionCheckHook ]; versionCheckProgramArg = "--version"; meta = { homepage = "https://asciinema.org/"; Loading