Loading pkgs/by-name/ru/rust-petname/package.nix +14 −6 Original line number Diff line number Diff line Loading @@ -2,25 +2,33 @@ lib, rustPlatform, fetchCrate, versionCheckHook, nix-update-script, }: rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage (finalAttrs: { pname = "rust-petname"; version = "2.0.2"; src = fetchCrate { inherit version; inherit (finalAttrs) version; crateName = "petname"; hash = "sha256-KP+GdGlwLHcKE8nAmFr2wHbt5RD9Ptpiz1X5HgJ6BgU="; }; cargoHash = "sha256-gZxZeirvGHwm8C87HdCBYr30+0bbjwnWxIQzcLgl3iQ="; meta = with lib; { doInstallCheck = true; nativeInstallCheckInputs = [ versionCheckHook ]; versionCheckProgramArg = "--version"; passthru.updateScript = nix-update-script { }; meta = { description = "Generate human readable random names"; homepage = "https://github.com/allenap/rust-petname"; license = licenses.asl20; maintainers = [ ]; license = lib.licenses.asl20; maintainers = [ lib.maintainers.progrm_jarvis ]; mainProgram = "petname"; }; } }) Loading
pkgs/by-name/ru/rust-petname/package.nix +14 −6 Original line number Diff line number Diff line Loading @@ -2,25 +2,33 @@ lib, rustPlatform, fetchCrate, versionCheckHook, nix-update-script, }: rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage (finalAttrs: { pname = "rust-petname"; version = "2.0.2"; src = fetchCrate { inherit version; inherit (finalAttrs) version; crateName = "petname"; hash = "sha256-KP+GdGlwLHcKE8nAmFr2wHbt5RD9Ptpiz1X5HgJ6BgU="; }; cargoHash = "sha256-gZxZeirvGHwm8C87HdCBYr30+0bbjwnWxIQzcLgl3iQ="; meta = with lib; { doInstallCheck = true; nativeInstallCheckInputs = [ versionCheckHook ]; versionCheckProgramArg = "--version"; passthru.updateScript = nix-update-script { }; meta = { description = "Generate human readable random names"; homepage = "https://github.com/allenap/rust-petname"; license = licenses.asl20; maintainers = [ ]; license = lib.licenses.asl20; maintainers = [ lib.maintainers.progrm_jarvis ]; mainProgram = "petname"; }; } })