1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pythonOlder,
6 setuptools,
7 unittestCheckHook,
8}:
9
10buildPythonPackage rec {
11 pname = "appdirs";
12 version = "1.4.4";
13 pyproject = true;
14
15 disabled = pythonOlder "3.8";
16
17 src = fetchPypi {
18 inherit pname version;
19 hash = "sha256-fV0BZ7KxuoIWR2Fq9Gp0nRxlN0DdDSQVEA/ibiev30E=";
20 };
21
22 build-system = [ setuptools ];
23
24 nativeCheckInputs = [ unittestCheckHook ];
25
26 pythonImportsCheck = [ "appdirs" ];
27
28 meta = {
29 description = "Python module for determining appropriate platform-specific dirs";
30 homepage = "https://github.com/ActiveState/appdirs";
31 changelog = "https://github.com/ActiveState/appdirs/releases/tag/${version}";
32 license = lib.licenses.mit;
33 maintainers = [ ];
34 };
35}