parabolic: 2024.5.0 -> 2025.1.4 (#378350)
[NixPkgs.git] / pkgs / development / python-modules / ds-store / default.nix
blob5e22e754fb4f2f0d951dc3b2a4d5db46f1351337
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   mac-alias,
6   pytestCheckHook,
7   pythonOlder,
8   setuptools,
9 }:
11 buildPythonPackage rec {
12   pname = "ds-store";
13   version = "1.3.1";
14   format = "pyproject";
16   disabled = pythonOlder "3.7";
18   src = fetchFromGitHub {
19     owner = "al45tair";
20     repo = "ds_store";
21     tag = "v${version}";
22     hash = "sha256-45lmkE61uXVCBUMyVVzowTJoALY1m9JI68s7Yb0vCks=";
23   };
25   nativeBuildInputs = [ setuptools ];
27   propagatedBuildInputs = [ mac-alias ];
29   nativeCheckInputs = [ pytestCheckHook ];
31   pythonImportsCheck = [ "ds_store" ];
33   meta = with lib; {
34     homepage = "https://github.com/al45tair/ds_store";
35     description = "Manipulate Finder .DS_Store files from Python";
36     mainProgram = "ds_store";
37     license = licenses.mit;
38     maintainers = with maintainers; [ prusnak ];
39   };