2021-01-25 09:26:54 +01:00
{ lib
2019-12-24 11:04:00 +01:00
, isPy3k
2019-11-19 02:11:48 +01:00
, 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 " ;
2020-02-14 07:28:05 +01:00
version = " 0 . 7 . 0 " ;
2020-02-15 17:51:41 +01:00
disabled = ( ! isPy3k ) ; # uses python3 specific file io in setup.py
2019-11-19 02:11:48 +01:00
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 " ;
2020-02-14 07:28:05 +01:00
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 " ;
2019-11-19 02:11:48 +01:00
} ;
propagatedBuildInputs = [
Babel
] ;
2019-12-24 11:04:00 +01:00
# 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 ;
2019-11-19 02:11:48 +01:00
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 ] ;
} ;
}