Unverified Commit 3e625ad2 authored by Matthias Beyer's avatar Matthias Beyer Committed by GitHub
Browse files

nurl: 0.3.13 -> 0.4.0; nix-init: 0.3.2 -> 0.3.3 (#487687)

parents b13bf32d 2a1df220
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -26,16 +26,16 @@ in

rustPlatform.buildRustPackage (finalAttrs: {
  pname = "nix-init";
  version = "0.3.2";
  version = "0.3.3";

  src = fetchFromGitHub {
    owner = "nix-community";
    repo = "nix-init";
    tag = "v${finalAttrs.version}";
    hash = "sha256-0RLEPVtYnwYH+pMnpO0/Evbp7x9d0RMobOVAqwgMJz4=";
    hash = "sha256-S0dlcbjaClCa82sqHHW5nqLE2zcJdCsYFj6SxffHk1U=";
  };

  cargoHash = "sha256-kk/SaP/ZtSorSSewAdf0Bq7tiMhB5dZb8v9MlsaUa0M=";
  cargoHash = "sha256-oiPjkPRd1P6THKAuZva6wJR1posXglK+emIYb4ruzU8=";

  nativeBuildInputs = [
    curl
@@ -77,8 +77,7 @@ rustPlatform.buildRustPackage (finalAttrs: {

  env = {
    GEN_ARTIFACTS = "artifacts";
    # FIXME: our libgit2 is currently too new
    # LIBGIT2_NO_VENDOR = 1;
    LIBGIT2_NO_VENDOR = true;
    NIX = lib.getExe nix;
    NURL = lib.getExe nurl;
    ZSTD_SYS_USE_PKG_CONFIG = true;
+8 −5
Original line number Diff line number Diff line
@@ -11,24 +11,27 @@

rustPlatform.buildRustPackage rec {
  pname = "nurl";
  version = "0.3.13";
  version = "0.4.0";

  src = fetchFromGitHub {
    owner = "nix-community";
    repo = "nurl";
    rev = "v${version}";
    hash = "sha256-rVqF+16esE27G7GS55RT91tD4x/GAzfVlIR0AgSknz0=";
    hash = "sha256-BxtvT2k4mErYPU9lNpZlat9ULI2wKXQToic7+PgkCSk=";
  };

  cargoHash = "sha256-OUJGxNqytwz7530ByqkanpseVJJXAea/L2GIHnuSIqk=";
  cargoHash = "sha256-4ACuHFzfuF4JWU0cPAJO+RPiA1HZ6o3b8K0C4NWJHmM=";

  nativeBuildInputs = [
    installShellFiles
    makeBinaryWrapper
  ];

  # tests require internet access
  doCheck = false;
  # disable tests that require internet access
  checkFlags = [
    "--skip=integration"
    "--skip=verify_outputs"
  ];

  postInstall = ''
    wrapProgram $out/bin/nurl \