Unverified Commit d27be8df authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

rustical: 0.11.10 -> 0.12.0 (#480566)

parents a5a29345 32902fec
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -8,22 +8,22 @@

rustPlatform.buildRustPackage (finalAttrs: {
  pname = "rustical";
  version = "0.11.10";
  version = "0.12.0";

  src = fetchFromGitHub {
    owner = "lennart-k";
    repo = "rustical";
    tag = "v${finalAttrs.version}";
    hash = "sha256-+XGYM12RO0+bUpt7mIP7qm1CoYDnJYRNtkxVRyoH32g=";
    hash = "sha256-pVN7xu0M/9S4Gq5kWTls5vOpFK8fPXf9MIXJncdvtVc=";
  };

  cargoHash = "sha256-cmjtPQd4ZvZ5HG+Cw1I4w8XRu64Q5HhR1rxhiYAC4aY=";

  postPatch = ''
    substituteInPlace Cargo.toml \
      --replace-fail 'rust-version = "1.92"' 'rust-version = "1.91"'
  '';

  cargoHash = "sha256-9GF7ViELoUxOxccyhFJehfRm7KuQIbv2wp9xIKkCpPQ=";

  nativeBuildInputs = [ pkg-config ];
  buildInputs = [ openssl ];