git-machete: add a simple version test

This commit is contained in:
Julian Stecklina 2021-07-23 00:00:04 +02:00
parent 9c5e8eb8da
commit 290599fbb1

View File

@ -2,6 +2,7 @@
, installShellFiles, pbr , installShellFiles, pbr
, flake8, mock, pycodestyle, pylint, tox , flake8, mock, pycodestyle, pylint, tox
, nix-update-script , nix-update-script
, testVersion, git-machete
}: }:
buildPythonApplication rec { buildPythonApplication rec {
@ -29,6 +30,12 @@ buildPythonApplication rec {
updateScript = nix-update-script { updateScript = nix-update-script {
attrPath = pname; attrPath = pname;
}; };
tests = {
version = testVersion {
package = git-machete;
};
};
}; };
meta = with lib; { meta = with lib; {