Files
nixpkgs/pkgs/development/python-modules/babelgladeextractor/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

34 lines
899 B
Nix

{
lib,
isPy3k,
buildPythonPackage,
fetchPypi,
babel,
}:
buildPythonPackage rec {
pname = "babelgladeextractor";
version = "0.7.0";
format = "setuptools";
disabled = (!isPy3k); # uses python3 specific file io in setup.py
src = fetchPypi {
pname = "BabelGladeExtractor";
inherit version;
extension = "tar.bz2";
sha256 = "160p4wi2ss69g141c2z59azvrhn7ymy5m9h9d65qrcabigi0by5w";
};
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 = {
homepage = "https://github.com/gnome-keysign/babel-glade";
description = "Babel Glade XML files translatable strings extractor";
license = lib.licenses.bsd3;
maintainers = [ ];
};
}