git.iko.soy/typeable/nixpkgs
on master help sign in
git-machete: updates to 3.7.2
commit68c8eaedb87be829cdb62c7936904555d98a9d99 authorPawel Lipski <pawel.p.lipski@gmail.com> dateTue 15 Feb 2022, 22:43 (5 years ago) parentc2f5af8
1 file changed+22−4
pkgs/applications/version-management/git-and-tools/git-machete/default.nix+22−4
pkgs/applications/version-management/git-and-tools/git-machete/default.nix+22−4
@@ -3,7 +3,7 @@
33, fetchFromGitHub
44, installShellFiles
55, git
6−, stestr
6+, pytest
77, nix-update-script
88, testVersion
99, git-machete
@@ -22,19 +22,37 @@ buildPythonApplication rec {
2222
2323 nativeBuildInputs = [ installShellFiles ];
2424
25− checkInputs = [ git stestr ];
25+ checkInputs = [ git pytest ];
2626
27+ ### Maybe not needed at all? since `python setup.py test` is executed anyway?
28+ /*
29+ Executing setuptoolsCheckPhase
30+ running test
31+ WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox.
32+ running egg_info
33+ writing git_machete.egg-info/PKG-INFO
34+ writing dependency_links to git_machete.egg-info/dependency_links.txt
35+ writing top-level names to git_machete.egg-info/top_level.txt
36+ reading manifest file 'git_machete.egg-info/SOURCES.txt'
37+ reading manifest template 'MANIFEST.in'
38+ adding license file 'LICENSE'
39+ writing manifest file 'git_machete.egg-info/SOURCES.txt'
40+ running build_ext
41+ test_add (git_machete.tests.functional.test_machete.MacheteTester)
42+ Verify behaviour of a 'git machete add' command. ... ok
43+ ....
44+ */
2745 postCheck = ''
28− stestr run
46+ pytest
2947 '';
3048
3149 postInstall = ''
3250 installShellCompletion --bash --name git-machete completion/git-machete.completion.bash
3351 installShellCompletion --zsh --name _git-machete completion/git-machete.completion.zsh
52+ installShellCompletion --fish completion/git-machete.fish
3453 '';
3554
3655 postInstallCheck = ''
37− git init
3856 test "$($out/bin/git-machete version)" = "git-machete version ${version}"
3957 '';
4058