mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
gitmoji-cli: add version test
This commit is contained in:
parent
57358cd35a
commit
0b087331d1
|
@ -6,6 +6,7 @@
|
|||
, nodejs
|
||||
, prefetch-yarn-deps
|
||||
, yarn
|
||||
, testers
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
|
@ -65,6 +66,12 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru.tests = {
|
||||
version = testers.testVersion {
|
||||
package = finalAttrs.finalPackage;
|
||||
};
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Gitmoji client for using emojis on commit messages";
|
||||
homepage = "https://github.com/carloscuesta/gitmoji-cli";
|
||||
|
|
Loading…
Reference in a new issue