summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/javaproperties/default.nix
blob: 5feb77b3d3c6c59a9e74dfe603c168243c841d08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  hatchling,
  pytestCheckHook,
  python-dateutil,
}:

buildPythonPackage rec {
  version = "0.8.2";
  pname = "javaproperties";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "jwodder";
    repo = "javaproperties";
    tag = "v${version}";
    sha256 = "sha256-8Deo6icInp7QpTqa+Ou6l36/23skxKOYRef2GbumDqo=";
  };

  build-system = [ hatchling ];

  nativeCheckInputs = [
    python-dateutil
    pytestCheckHook
  ];

  disabledTests = [ "time" ];

  disabledTestPaths = [ "test/test_propclass.py" ];

  meta = {
    description = "Python library for reading and writing Java .properties files";
    homepage = "https://github.com/jwodder/javaproperties";
    license = lib.licenses.mit;
    maintainers = [ ];
  };
}