11 stdenv.mkDerivation rec {
15 src = fetchFromGitHub {
18 rev = "${pname}-${version}";
19 hash = "sha256-Og7+FVCBWohVd58GVxFN3KChcG0Kts1MokiOQXZ1OTc=";
27 separateDebugInfo = stdenv.hostPlatform.isLinux;
29 enableParallelBuilding = true;
31 nativeBuildInputs = [ curl ];
32 buildInputs = [ curl ];
33 makeFlags = [ "PREFIX=$(out)" ];
36 nativeCheckInputs = [ python3 ];
39 passthru.tests.version = testers.testVersion {
44 description = "Command line tool for URL parsing and manipulation";
45 homepage = "https://curl.se/trurl";
46 changelog = "https://github.com/curl/trurl/releases/tag/${pname}-${version}";
47 license = licenses.curl;
48 maintainers = with maintainers; [ christoph-heiss ];
49 platforms = platforms.all;
50 mainProgram = "trurl";