nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 39 lines 780 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 hatchling, 6 pytestCheckHook, 7 python-dateutil, 8}: 9 10buildPythonPackage rec { 11 version = "0.8.2"; 12 pname = "javaproperties"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "jwodder"; 17 repo = "javaproperties"; 18 tag = "v${version}"; 19 sha256 = "sha256-8Deo6icInp7QpTqa+Ou6l36/23skxKOYRef2GbumDqo="; 20 }; 21 22 build-system = [ hatchling ]; 23 24 nativeCheckInputs = [ 25 python-dateutil 26 pytestCheckHook 27 ]; 28 29 disabledTests = [ "time" ]; 30 31 disabledTestPaths = [ "test/test_propclass.py" ]; 32 33 meta = { 34 description = "Python library for reading and writing Java .properties files"; 35 homepage = "https://github.com/jwodder/javaproperties"; 36 license = lib.licenses.mit; 37 maintainers = [ ]; 38 }; 39}