Unverified Commit 7f40e21d authored by Adam C. Stephens's avatar Adam C. Stephens Committed by GitHub
Browse files

sampo: 0.12.0 -> 0.17.0 (#502209)

parents 091ecddd ce7cb362
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -9,20 +9,20 @@
}:
rustPlatform.buildRustPackage (finalAttrs: {
  pname = "sampo";
  version = "0.12.0";
  version = "0.17.0";

  src = fetchFromGitHub {
    owner = "bruits";
    repo = "sampo";
    tag = "sampo-v${finalAttrs.version}";
    hash = "sha256-0E9dvyu6mGbuMH8Lf/rVTn3skVq9kaVjQG2eLH8a2IY=";
    hash = "sha256-NY73wGLS5r7C5GoF6p9Yf1d9nhbis/QZWAgnIVjytjA=";
  };

  nativeBuildInputs = [ pkg-config ];

  buildInputs = [ openssl ];

  cargoHash = "sha256-gooShQWJY9UKYq99o7qhyz6ROK+VXYG2PpygdVWG0iM=";
  cargoHash = "sha256-9Z0Jdx220+GrdNZPcJnjxqSOp6GHFXomtME0qczHbvs=";

  cargoBuildFlags = [
    "-p"
@@ -35,7 +35,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
  nativeInstallCheckInputs = [ versionCheckHook ];
  doInstallCheck = true;

  passthru.updateScript = nix-update-script { };
  passthru.updateScript = nix-update-script { extraArgs = [ "--version-regex=sampo-v([0-9\.]*)" ]; };

  meta = {
    description = "Automate changelogs, versioning, and publishing—even for monorepos across multiple package registries";