mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-18 02:05:51 +03:00
Merge pull request #224526 from christoph-heiss/pkgs/trurl
This commit is contained in:
commit
0cca0c5d18
@ -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).
|
||||
|
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;
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user