lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 24.11-pre 40 lines 1.0 kB view raw
1{ lib, stdenv, fetchFromGitHub, curl, python3, trurl, testers }: 2 3stdenv.mkDerivation rec { 4 pname = "trurl"; 5 version = "0.13"; 6 7 src = fetchFromGitHub { 8 owner = "curl"; 9 repo = pname; 10 rev = "${pname}-${version}"; 11 hash = "sha256-TkYZk4SoGAc0dxtxil4FjEhA53M+/dRmhc2kJfxWze8="; 12 }; 13 14 outputs = [ "out" "dev" "man" ]; 15 separateDebugInfo = stdenv.isLinux; 16 17 enableParallelBuilding = true; 18 19 nativeBuildInputs = [ curl ]; 20 buildInputs = [ curl ]; 21 makeFlags = [ "PREFIX=$(out)" ]; 22 23 doCheck = true; 24 nativeCheckInputs = [ python3 ]; 25 checkTarget = "test"; 26 27 passthru.tests.version = testers.testVersion { 28 package = trurl; 29 }; 30 31 meta = with lib; { 32 description = "A command line tool for URL parsing and manipulation"; 33 homepage = "https://curl.se/trurl"; 34 changelog = "https://github.com/curl/trurl/releases/tag/${pname}-${version}"; 35 license = licenses.curl; 36 maintainers = with maintainers; [ christoph-heiss ]; 37 platforms = platforms.all; 38 mainProgram = "trurl"; 39 }; 40}