Unverified Commit 215801b5 authored by Christoph Heiss's avatar Christoph Heiss
Browse files

trurl: add passthru.tests.version

parent 018fe5d7
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
{ lib, stdenv, fetchFromGitHub, curl, python3, python3Packages }:
{ lib, stdenv, fetchFromGitHub, curl, python3, python3Packages, trurl, testers }:

stdenv.mkDerivation rec {
  pname = "trurl";
@@ -24,6 +24,10 @@ stdenv.mkDerivation rec {
  nativeCheckInputs = [ python3 python3Packages.packaging ];
  checkTarget = "test";

  passthru.tests.version = testers.testVersion {
    package = trurl;
  };

  meta = with lib; {
    description = "A command line tool for URL parsing and manipulation";
    homepage = "https://curl.se/trurl";