Unverified Commit 097ad426 authored by Kenichi Kamiya's avatar Kenichi Kamiya
Browse files

sequoia-sq: migrate to tag in fetcher and finalAttrs



Co-authored-by: default avatarawwpotato <awwpotato@voidq.com>
Co-authored-by: default avatarDoron Behar <doron.behar@gmail.com>
parent 44d87679
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -14,14 +14,14 @@
  sqlite,
}:

rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
  pname = "sequoia-sq";
  version = "1.3.0";

  src = fetchFromGitLab {
    owner = "sequoia-pgp";
    repo = "sequoia-sq";
    rev = "v${version}";
    tag = "v${finalAttrs.version}";
    hash = "sha256-1jssSlyjbrGgkxGC1gieZooVVI42Qvz0q+pIfcZRIj0=";
  };

@@ -74,7 +74,7 @@ rustPlatform.buildRustPackage rec {
  meta = {
    description = "Cool new OpenPGP implementation";
    homepage = "https://sequoia-pgp.org/";
    changelog = "https://gitlab.com/sequoia-pgp/sequoia-sq/-/blob/v${version}/NEWS";
    changelog = "https://gitlab.com/sequoia-pgp/sequoia-sq/-/blob/v${finalAttrs.version}/NEWS";
    license = lib.licenses.gpl2Plus;
    maintainers = with lib.maintainers; [
      minijackson
@@ -83,4 +83,4 @@ rustPlatform.buildRustPackage rec {
    ];
    mainProgram = "sq";
  };
}
})