File tree Expand file tree Collapse file tree 1 file changed +16
-7
lines changed
Expand file tree Collapse file tree 1 file changed +16
-7
lines changed Original file line number Diff line number Diff line change 11{
22 lib ,
3- fetchFromGitHub ,
43 buildPythonApplication ,
4+ fetchFromGitHub ,
55 python-dateutil ,
66} :
77
88buildPythonApplication rec {
99 pname = "pdd" ;
10- version = "1.6" ;
10+ version = "1.7" ;
11+ pyproject = false ;
1112
1213 src = fetchFromGitHub {
1314 owner = "jarun" ;
1415 repo = "pdd" ;
1516 tag = "v${ version } " ;
16- sha256 = "sha256-Z+jUFu4VvrgWUtkXMkjspcRJ/JG81X9gc2tnDoCdrsk =" ;
17+ hash = "sha256-jQCjqQxvJU2oYLSWpFriJIfD0EbqBx59AvRX77pX0Cg =" ;
1718 } ;
1819
19- format = "other" ;
20+ postPatch = ''
21+ patchShebangs auto-completion/zsh/zsh_completion.py
22+ '' ;
23+
24+ preInstall = ''
25+ mkdir -p $out/share/bash-completion/compilations
26+ mkdir -p $out/share/zsh/site-functions
27+ mkdir -p $out/share/fish/vendor_completions.d
28+ '' ;
2029
21- propagatedBuildInputs = [ python-dateutil ] ;
30+ dependencies = [ python-dateutil ] ;
2231
2332 installFlags = [ "PREFIX=$(out)" ] ;
2433
25- meta = with lib ; {
34+ meta = {
2635 homepage = "https://github.com/jarun/pdd" ;
2736 description = "Tiny date, time diff calculator" ;
2837 longDescription = ''
@@ -34,7 +43,7 @@ buildPythonApplication rec {
3443 timezone.
3544 '' ;
3645 maintainers = [ ] ;
37- license = licenses . gpl3 ;
46+ license = lib . licenses . gpl3Plus ;
3847 mainProgram = "pdd" ;
3948 } ;
4049}
You can’t perform that action at this time.
0 commit comments