Commit 89b15f09 authored by figsoda's avatar figsoda
Browse files
parent b709b029
Loading
Loading
Loading
Loading
+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 \