trurl: init at 0.3

This is a new tool for "translating and transposing URLs, made by curl's
Daniel Sternberg.

Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
Christoph Heiss 2023-04-06 16:29:30 +02:00
parent e876881925
commit 453c8f4157
No known key found for this signature in database
GPG Key ID: 6817E9C75C0785D7
3 changed files with 37 additions and 0 deletions

View File

@ -87,6 +87,8 @@ In addition to numerous new and upgraded packages, this release has the followin
- [nimdow](https://github.com/avahe-kellenberger/nimdow), a window manager written in Nim, inspired by dwm.
- [trurl](https://github.com/curl/trurl), a command line tool for URL parsing and manipulation.
- [woodpecker-agents](https://woodpecker-ci.org/), a simple CI engine with great extensibility. Available as [services.woodpecker-agents](#opt-services.woodpecker-agents.agents._name_.enable).
- [woodpecker-server](https://woodpecker-ci.org/), a simple CI engine with great extensibility. Available as [services.woodpecker-server](#opt-services.woodpecker-server.enable).

View File

@ -0,0 +1,33 @@
{ lib, stdenv, fetchFromGitHub, curl, perl }:
stdenv.mkDerivation rec {
pname = "trurl";
version = "0.3";
src = fetchFromGitHub {
owner = "curl";
repo = pname;
rev = "${pname}-${version}";
sha256 = "sha256-z7Na7lXDzSmBTuSBaizyG892D3IfbN43ytPjOEQ9CAA=";
};
separateDebugInfo = stdenv.isLinux;
enableParallelBuilding = true;
buildInputs = [ curl ];
makeFlags = [ "PREFIX=$(out)" ];
doCheck = true;
checkInputs = [ perl ];
checkTarget = "test";
meta = with lib; {
description = "A command line tool for URL parsing and manipulation";
homepage = "https://curl.se/trurl";
changelog = "https://github.com/curl/trurl/releases/tag/${pname}-${version}";
license = licenses.curl;
maintainers = with maintainers; [ christoph-heiss ];
platforms = platforms.all;
};
}

View File

@ -6551,6 +6551,8 @@ with pkgs;
curlie = callPackage ../tools/networking/curlie { };
trurl = callPackage ../tools/networking/trurl { };
cunit = callPackage ../tools/misc/cunit { };
bcunit = callPackage ../tools/misc/bcunit { };