diff options
Diffstat (limited to 'pkgs/by-name/oo/oo7/package.nix')
-rw-r--r-- | pkgs/by-name/oo/oo7/package.nix | 43 |
1 files changed, 22 insertions, 21 deletions
diff --git a/pkgs/by-name/oo/oo7/package.nix b/pkgs/by-name/oo/oo7/package.nix index 8054daa560889..a126a27fd1079 100644 --- a/pkgs/by-name/oo/oo7/package.nix +++ b/pkgs/by-name/oo/oo7/package.nix @@ -1,22 +1,23 @@ -{ lib -, rustPlatform -, fetchFromGitHub -, nix-update-script -, oo7 -, openssl -, pkg-config -, testers +{ + lib, + rustPlatform, + fetchFromGitHub, + nix-update-script, + oo7, + openssl, + pkg-config, + testers, }: rustPlatform.buildRustPackage rec { pname = "oo7"; - version = "0.3.2"; + version = "0.3.3"; src = fetchFromGitHub { owner = "bilelmoussaoui"; repo = "oo7"; rev = version; - hash = "sha256-oNzDjPMPM8opINSHC8T4ivQ6mfRVmN2VXPZAFkBZS8U="; + hash = "sha256-KoceqJCxb61EF29Fw9UU2LCHxDR0ExR3lnt85Nqg6tg="; }; cargoLock = { @@ -27,13 +28,9 @@ rustPlatform.buildRustPackage rec { ln -s ${./Cargo.lock} Cargo.lock ''; - nativeBuildInputs = [ - pkg-config - ]; + nativeBuildInputs = [ pkg-config ]; - buildInputs = [ - openssl - ]; + buildInputs = [ openssl ]; postInstall = '' install -Dm644 portal/data/oo7-portal.portal $out/share/xdg-desktop-portal/portals/oo7.portal @@ -43,17 +40,21 @@ rustPlatform.buildRustPackage rec { ''; passthru = { - tests.testVersion = testers.testVersion { - package = oo7; - }; - updateScript = nix-update-script { }; + tests.testVersion = testers.testVersion { package = oo7; }; + + # TODO: re-enable this when upstream adds a Cargo.lock + # updateScript = nix-update-script { }; }; meta = with lib; { description = "James Bond went on a new mission as a Secret Service provider"; homepage = "https://github.com/bilelmoussaoui/oo7"; + changelog = "https://github.com/bilelmoussaoui/oo7/releases/tag/${src.rev}"; license = licenses.mit; - maintainers = with maintainers; [ getchoo Scrumplex ]; + maintainers = with maintainers; [ + getchoo + Scrumplex + ]; platforms = platforms.linux; mainProgram = "oo7-cli"; }; |