at master 959 B view raw
1{ 2 buildPythonPackage, 3 fetchFromGitHub, 4 lib, 5 hypothesis, 6 pytestCheckHook, 7 unstableGitUpdater, 8}: 9 10buildPythonPackage { 11 pname = "senf"; 12 version = "1.5.0-unstable-2024-11-26"; 13 format = "setuptools"; 14 15 src = fetchFromGitHub { 16 owner = "quodlibet"; 17 repo = "senf"; 18 rev = "b32bb8091f7b46679a23b3f9e9a9157eaa53be95"; 19 hash = "sha256-JoFmQkjau8e8EXiJbWS7vnv1FarwerO4vGInosxlNEM="; 20 }; 21 22 nativeCheckInputs = [ 23 hypothesis 24 pytestCheckHook 25 ]; 26 27 disabledTests = [ 28 # Both don't work even with HOME specified... 29 "test_getuserdir" 30 "test_expanduser_user" 31 ]; 32 33 passthru.updateScript = unstableGitUpdater { 34 tagPrefix = "v"; 35 }; 36 37 pythonImportsCheck = [ "senf" ]; 38 39 meta = { 40 description = "Consistent filename handling for all Python versions and platforms"; 41 homepage = "https://senf.readthedocs.io/en/latest/"; 42 license = lib.licenses.mit; 43 maintainers = with lib.maintainers; [ cab404 ]; 44 }; 45 46}