1{
2 lib,
3 isPy3k,
4 buildPythonPackage,
5 fetchPypi,
6 babel,
7}:
8
9buildPythonPackage rec {
10 pname = "babelgladeextractor";
11 version = "0.7.0";
12 format = "setuptools";
13 disabled = (!isPy3k); # uses python3 specific file io in setup.py
14
15 src = fetchPypi {
16 pname = "BabelGladeExtractor";
17 inherit version;
18 extension = "tar.bz2";
19 sha256 = "160p4wi2ss69g141c2z59azvrhn7ymy5m9h9d65qrcabigi0by5w";
20 };
21
22 propagatedBuildInputs = [ babel ];
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 = [ ];
32 };
33}