dooit: add passthru.updateScript
This commit is contained in:
parent
00c52fb204
commit
9b0e1b7fce
@ -3,6 +3,7 @@
|
|||||||
, dooit
|
, dooit
|
||||||
, python3
|
, python3
|
||||||
, testers
|
, testers
|
||||||
|
, nix-update-script
|
||||||
}:
|
}:
|
||||||
|
|
||||||
python3.pkgs.buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
@ -39,9 +40,13 @@ python3.pkgs.buildPythonApplication rec {
|
|||||||
# No tests available
|
# No tests available
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
passthru.tests.version = testers.testVersion {
|
passthru = {
|
||||||
package = dooit;
|
tests.version = testers.testVersion {
|
||||||
command = "HOME=$(mktemp -d) dooit --version";
|
package = dooit;
|
||||||
|
command = "HOME=$(mktemp -d) dooit --version";
|
||||||
|
};
|
||||||
|
|
||||||
|
updateScript = nix-update-script { };
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user