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