File tree Expand file tree Collapse file tree 1 file changed +26
-19
lines changed Expand file tree Collapse file tree 1 file changed +26
-19
lines changed Original file line number Diff line number Diff line change 22 lib ,
33 stdenv ,
44 python3Packages ,
5- fetchPypi ,
5+ fetchFromGitHub ,
66 wrapGAppsHook3 ,
77 gtk3 ,
88 gobject-introspection ,
1515
1616python3Packages . buildPythonApplication rec {
1717 pname = "pympress" ;
18- version = "1.8.5 " ;
18+ version = "1.8.6 " ;
1919
20- src = fetchPypi {
21- inherit version ;
22- pname = "pympress" ;
23- hash = "sha256-Kb05EV0F8lTamTq7pC1UoOkYf04s58NjMksVE2xTC/Y=" ;
20+ src = fetchFromGitHub {
21+ owner = "cimbali" ;
22+ repo = "pympress" ;
23+ tag = "v${ version } " ;
24+ hash = "sha256-rIlYd5SMWYeqdMHyW3d1ggKnUMCJCDP5uw25d7zG2DU=" ;
2425 } ;
2526
27+ build-system = with python3Packages ; [
28+ setuptools
29+ babel
30+ ] ;
31+
32+ dependencies =
33+ with python3Packages ;
34+ [
35+ watchdog
36+ pycairo
37+ pygobject3
38+ ]
39+ ++ lib . optional withVLC [
40+ python-vlc
41+ ] ;
42+
2643 nativeBuildInputs = [
2744 wrapGAppsHook3
2845 gobject-introspection
@@ -44,23 +61,13 @@ python3Packages.buildPythonApplication rec {
4461 gst_all_1 . gst-vaapi
4562 ] ;
4663
47- propagatedBuildInputs =
48- with python3Packages ;
49- [
50- pycairo
51- pygobject3
52- setuptools
53- watchdog
54- ]
55- ++ lib . optional withVLC python-vlc ;
56-
5764 doCheck = false ; # there are no tests
5865
59- meta = with lib ; {
66+ meta = {
6067 description = "Simple yet powerful PDF reader designed for dual-screen presentations" ;
6168 mainProgram = "pympress" ;
62- license = licenses . gpl2Plus ;
69+ license = lib . licenses . gpl2Plus ;
6370 homepage = "https://cimbali.github.io/pympress/" ;
64- maintainers = [ maintainers . tbenst ] ;
71+ maintainers = with lib . maintainers ; [ tbenst ] ;
6572 } ;
6673}
You can’t perform that action at this time.
0 commit comments