openapi-generator-cli: Add passthru.tests.example
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{ lib, stdenv, fetchurl, jre, makeWrapper }:
|
||||
{ callPackage, lib, stdenv, fetchurl, jre, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
let this = stdenv.mkDerivation rec {
|
||||
version = "6.0.0-2021-01-18"; # Also update the fetchurl link
|
||||
pname = "openapi-generator-cli";
|
||||
|
||||
@@ -30,5 +30,9 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.shou ];
|
||||
};
|
||||
}
|
||||
|
||||
passthru.tests.example = callPackage ./example.nix {
|
||||
openapi-generator-cli = this;
|
||||
};
|
||||
};
|
||||
in this
|
||||
|
||||
Reference in New Issue
Block a user