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:
parent
e876881925
commit
453c8f4157
3 changed files with 37 additions and 0 deletions
|
@ -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).
|
||||
|
|
33
pkgs/tools/networking/trurl/default.nix
Normal file
33
pkgs/tools/networking/trurl/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue