Skip to content

Commit

Permalink
ox: 0.7.2 -> 0.7.6 and refactor (#367688)
Browse files Browse the repository at this point in the history
  • Loading branch information
donovanglover authored Dec 30, 2024
2 parents e1ff08a + 2bd5556 commit 6bcb864
Showing 1 changed file with 16 additions and 12 deletions.
28 changes: 16 additions & 12 deletions pkgs/by-name/ox/ox/package.nix
Original file line number Diff line number Diff line change
@@ -1,31 +1,32 @@
{
lib,
stdenv,
fetchFromGitHub,
rustPlatform,
testers,
versionCheckHook,
nix-update-script,
ox,
}:

rustPlatform.buildRustPackage rec {
pname = "ox";
version = "0.7.2";
version = "0.7.6";

src = fetchFromGitHub {
owner = "curlpipe";
repo = pname;
rev = version;
hash = "sha256-yAToibHhvHAry7WVZ5uD84CbUTp06RyZ9J12/2deM1I=";
tag = version;
hash = "sha256-kTCdq3C0OUQS3tQRwEJ0+MTHZ8j2nnUARjdbmfH6ed4=";
};

cargoHash = "sha256-YAy5vCxcHUL0wM9+Y3GDqV/V1utL3V05heT92/zQ/X8=";
cargoHash = "sha256-GiKSkpXEngQtnGW8zjy2RWQOG1b/xQrYRSLHsndkooo=";

passthru = {
tests.version = testers.testVersion {
package = ox;
};
nativeInstallCheckInputs = [
versionCheckHook
];
doInstallCheck = true;
versionCheckProgram = "${placeholder "out"}/bin/${meta.mainProgram}";
versionCheckProgramArg = [ "--version" ];

passthru = {
updateScript = nix-update-script { };
};

Expand All @@ -34,7 +35,10 @@ rustPlatform.buildRustPackage rec {
homepage = "https://github.com/curlpipe/ox";
changelog = "https://github.com/curlpipe/ox/releases/tag/${version}";
license = licenses.gpl2Only;
maintainers = with maintainers; [ moni ];
maintainers = with maintainers; [
moni
kachick
];
mainProgram = "ox";
};
}

0 comments on commit 6bcb864

Please sign in to comment.