trurl: add passthru.tests.version
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
parent
018fe5d71b
commit
215801b5f4
1 changed files with 5 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
{ 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";
|
||||
|
|
Loading…
Reference in a new issue