Merge pull request #224526 from christoph-heiss/pkgs/trurl

This commit is contained in:
Sandro 2023-04-07 00:15:20 +02:00 committed by GitHub
commit 0cca0c5d18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 37 additions and 0 deletions

View File

@ -89,6 +89,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

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