1{ lib 2, isPy3k 3, buildPythonPackage 4, fetchPypi 5, babel 6}: 7 8buildPythonPackage rec { 9 pname = "babelgladeextractor"; 10 version = "0.7.0"; 11 disabled = (!isPy3k); # uses python3 specific file io in setup.py 12 13 src = fetchPypi { 14 pname = "BabelGladeExtractor"; 15 inherit version; 16 extension = "tar.bz2"; 17 sha256 = "160p4wi2ss69g141c2z59azvrhn7ymy5m9h9d65qrcabigi0by5w"; 18 }; 19 20 propagatedBuildInputs = [ 21 babel 22 ]; 23 24 # SyntaxError: Non-ASCII character '\xc3' in file /build/BabelGladeExtractor-0.6.3/babelglade/tests/test_translate.py on line 20, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details 25 doCheck = isPy3k; 26 27 meta = with lib; { 28 homepage = "https://github.com/gnome-keysign/babel-glade"; 29 description = "Babel Glade XML files translatable strings extractor"; 30 license = licenses.bsd3; 31 maintainers = with maintainers; [ jtojnar ]; 32 }; 33}