10 buildPythonPackage rec {
11 pname = "desktop-entry-lib";
14 disabled = pythonOlder "3.9";
16 # We could use fetchPypi, but then the tests won't run
17 src = fetchFromGitea {
18 domain = "codeberg.org";
22 hash = "sha256-+c+FuLv88wc4yVw3iyFFtfbocnWzTCIe2DS0SWoj+VI=";
25 nativeBuildInputs = [ setuptools ];
26 nativeCheckInputs = [ pytestCheckHook ];
27 pythonImportsCheck = [ "desktop_entry_lib" ];
30 description = "Allows reading and writing .desktop files according to the Desktop Entry Specification";
31 homepage = "https://codeberg.org/JakobDev/desktop-entry-lib";
32 changelog = "https://codeberg.org/JakobDev/desktop-entry-lib/releases/tag/${version}";
33 license = licenses.bsd2;
34 maintainers = with maintainers; [ Madouura ];