Loading pkgs/by-name/au/automatic-timezoned/package.nix +11 −5 Original line number Diff line number Diff line Loading @@ -2,28 +2,34 @@ lib, fetchFromGitHub, rustPlatform, versionCheckHook, }: rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage (finalAttrs: { pname = "automatic-timezoned"; version = "2.0.96"; src = fetchFromGitHub { owner = "maxbrunet"; repo = "automatic-timezoned"; rev = "v${version}"; rev = "v${finalAttrs.version}"; sha256 = "sha256-Y2dx0Y5wfYXewJkf7W2YgupdTfwsJg7MTPsFpLmJ9k8="; }; cargoHash = "sha256-c5KDy767GxZwTwrcjsnfEQVlFiYxmjSdpFx07ymMtBE="; nativeInstallCheckInputs = [ versionCheckHook ]; doInstallCheck = true; versionCheckProgramArg = "--version"; meta = { description = "Automatically update system timezone based on location"; homepage = "https://github.com/maxbrunet/automatic-timezoned"; changelog = "https://github.com/maxbrunet/automatic-timezoned/blob/v${version}/CHANGELOG.md"; changelog = "https://github.com/maxbrunet/automatic-timezoned/blob/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.gpl3; maintainers = with lib.maintainers; [ maxbrunet ]; maintainers = [ lib.maintainers.maxbrunet ]; platforms = lib.platforms.linux; mainProgram = "automatic-timezoned"; }; } }) Loading
pkgs/by-name/au/automatic-timezoned/package.nix +11 −5 Original line number Diff line number Diff line Loading @@ -2,28 +2,34 @@ lib, fetchFromGitHub, rustPlatform, versionCheckHook, }: rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage (finalAttrs: { pname = "automatic-timezoned"; version = "2.0.96"; src = fetchFromGitHub { owner = "maxbrunet"; repo = "automatic-timezoned"; rev = "v${version}"; rev = "v${finalAttrs.version}"; sha256 = "sha256-Y2dx0Y5wfYXewJkf7W2YgupdTfwsJg7MTPsFpLmJ9k8="; }; cargoHash = "sha256-c5KDy767GxZwTwrcjsnfEQVlFiYxmjSdpFx07ymMtBE="; nativeInstallCheckInputs = [ versionCheckHook ]; doInstallCheck = true; versionCheckProgramArg = "--version"; meta = { description = "Automatically update system timezone based on location"; homepage = "https://github.com/maxbrunet/automatic-timezoned"; changelog = "https://github.com/maxbrunet/automatic-timezoned/blob/v${version}/CHANGELOG.md"; changelog = "https://github.com/maxbrunet/automatic-timezoned/blob/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.gpl3; maintainers = with lib.maintainers; [ maxbrunet ]; maintainers = [ lib.maintainers.maxbrunet ]; platforms = lib.platforms.linux; mainProgram = "automatic-timezoned"; }; } })