10 buildPythonPackage rec {
11 pname = "jproperties";
13 format = "setuptools";
15 src = fetchFromGitHub {
17 repo = "python-jproperties";
19 sha256 = "sha256-O+ALeGHMNjW1dc9IRyLzO81k8DW2vbGjuZqXxgrhYjo=";
22 SETUPTOOLS_SCM_PRETEND_VERSION = version;
28 propagatedBuildInputs = [
38 substituteInPlace setup.py \
39 --replace "setuptools_scm ~= 3.3" "setuptools_scm"
40 substituteInPlace pytest.ini \
41 --replace "--cov=jproperties --cov-report=term --cov-report=html --cov-branch" ""
45 # TypeError: 'PosixPath' object...
46 "tests/test_simple_utf8.py"
49 pythonImportsCheck = [
54 description = "Java Property file parser and writer for Python";
55 homepage = "https://github.com/Tblue/python-jproperties";
56 license = with licenses; [ bsd3 ];
57 maintainers = with maintainers; [ fab ];