frescobaldi: Improved meta and formatting

This commit is contained in:
Raffael Mancini 2014-10-24 16:13:20 +02:00
parent 027de5a0d6
commit b6c7f6c2e4
2 changed files with 24 additions and 18 deletions

View File

@ -5,7 +5,8 @@ pythonPackages.buildPythonPackage rec {
version = "2.0.16"; version = "2.0.16";
src = fetchurl { src = fetchurl {
url = "https://github.com/wbsoft/frescobaldi/releases/download/v2.0.16/${name}.tar.gz"; url = "https://github.com/wbsoft/frescobaldi/releases/download/"
+ "v2.0.16/${name}.tar.gz";
sha256 = "12pabvq5b2lq84q3kx8lh02zh6ali6v4wnin2k2ycnm45mk9ms6q"; sha256 = "12pabvq5b2lq84q3kx8lh02zh6ali6v4wnin2k2ycnm45mk9ms6q";
}; };
@ -14,7 +15,7 @@ pythonPackages.buildPythonPackage rec {
patches = [ ./setup.cfg.patch ./python-path.patch ]; patches = [ ./setup.cfg.patch ./python-path.patch ];
meta = { meta = with stdenv.lib; {
homepage = http://frescobaldi.org/; homepage = http://frescobaldi.org/;
description = ''Frescobaldi is a LilyPond sheet music text editor''; description = ''Frescobaldi is a LilyPond sheet music text editor'';
longDescription = '' longDescription = ''
@ -29,6 +30,8 @@ pythonPackages.buildPythonPackage rec {
MusicXML import, Modern user iterface with configurable colors, MusicXML import, Modern user iterface with configurable colors,
fonts and keyboard shortcuts fonts and keyboard shortcuts
''; '';
platforms = stdenv.lib.platforms.all; license = licenses.gpl2Plus;
maintainers = [ maintainers.sepi ];
platforms = platforms.all;
}; };
} }

View File

@ -2604,14 +2604,16 @@ let
name = "poppler-qt4-${version}"; name = "poppler-qt4-${version}";
version = "0.18.1"; version = "0.18.1";
src = fetchurl { src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/p/python-poppler-qt4/python-poppler-qt4-${version}.tar.gz"; url = "https://pypi.python.org/packages/source/p/python-poppler-qt4/" +
"python-poppler-qt4-${version}.tar.gz";
md5 = "9c4c5a59b878aed78e96a6ae58c6c185"; md5 = "9c4c5a59b878aed78e96a6ae58c6c185";
}; };
propagatedBuildInputs = [ pyqt4 sip pkgs.pkgconfig pkgs.popplerQt4 ]; propagatedBuildInputs = [ pkgs.pyqt4 pkgs.sip pkgs.pkgconfig pkgs.popplerQt4 ];
preBuild = "${python}/bin/${python.executable} setup.py build_ext --include-dirs=${pkgs.popplerQt4}/include/poppler/"; preBuild = "${python}/bin/${python.executable} setup.py build_ext" +
" --include-dirs=${pkgs.popplerQt4}/include/poppler/";
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "A Python binding to Poppler-Qt4"; description = "A Python binding to Poppler-Qt4";
@ -2619,7 +2621,8 @@ let
A Python binding to Poppler-Qt4 that aims for completeness A Python binding to Poppler-Qt4 that aims for completeness
and for being actively maintained. and for being actively maintained.
''; '';
license = licenses.lgpl; license = licenses.lgpl31Plus;
maintainers = [ maintainers.sepi ];
platforms = platforms.all; platforms = platforms.all;
}; };
}; };