Unverified Commit 823938b4 authored by Christoph Heiss's avatar Christoph Heiss
Browse files
parent e235177a
Loading
Loading
Loading
Loading
+13 −3
Original line number Diff line number Diff line
@@ -4,21 +4,26 @@
  fetchFromGitHub,
  curl,
  python3,
  perl,
  trurl,
  testers,
}:

stdenv.mkDerivation rec {
  pname = "trurl";
  version = "0.16";
  version = "0.16.1";

  src = fetchFromGitHub {
    owner = "curl";
    repo = "trurl";
    rev = "trurl-${version}";
    hash = "sha256-Og7+FVCBWohVd58GVxFN3KChcG0Kts1MokiOQXZ1OTc=";
    hash = "sha256-VCMT4WgZ6LG7yiKaRy7KTgTkbACVXb4rw62lWnVAuP0=";
  };

  postPatch = ''
    patchShebangs scripts/*
  '';

  outputs = [
    "out"
    "dev"
@@ -28,10 +33,15 @@ stdenv.mkDerivation rec {

  enableParallelBuilding = true;

  nativeBuildInputs = [ curl ];
  nativeBuildInputs = [
    curl
    perl
  ];
  buildInputs = [ curl ];
  makeFlags = [ "PREFIX=$(out)" ];

  strictDeps = true;

  doCheck = true;
  nativeCheckInputs = [ python3 ];
  checkTarget = "test";