2021-02-05 17:12:51 +00:00
{ lib
2020-04-24 23:36:52 +00:00
, isPy3k
, buildPythonPackage
, fetchPypi
, Babel
} :
buildPythonPackage rec {
pname = " b a b e l g l a d e e x t r a c t o r " ;
version = " 0 . 7 . 0 " ;
disabled = ( ! isPy3k ) ; # uses python3 specific file io in setup.py
src = fetchPypi {
pname = " B a b e l G l a d e E x t r a c t o r " ;
inherit version ;
extension = " t a r . b z 2 " ;
sha256 = " 1 6 0 p 4 w i 2 s s 6 9 g 1 4 1 c 2 z 5 9 a z v r h n 7 y m y 5 m 9 h 9 d 6 5 q r c a b i g i 0 b y 5 w " ;
} ;
propagatedBuildInputs = [
Babel
] ;
# 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
doCheck = isPy3k ;
meta = with lib ; {
homepage = " h t t p s : / / g i t h u b . c o m / g n o m e - k e y s i g n / b a b e l - g l a d e " ;
description = " B a b e l G l a d e X M L f i l e s t r a n s l a t a b l e s t r i n g s e x t r a c t o r " ;
license = licenses . bsd3 ;
maintainers = with maintainers ; [ jtojnar ] ;
} ;
}