depot/third_party/nixpkgs/pkgs/development/python-modules/ds-store/default.nix
Default email c7e6337bd0 Project import generated by Copybara.
GitOrigin-RevId: 08e4dc3a907a6dfec8bb3bbf1540d8abbffea22b
2023-04-29 12:46:19 -04:00

46 lines
828 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, mac_alias
, pytestCheckHook
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "ds-store";
version = "1.3.1";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "al45tair";
repo = "ds_store";
rev = "refs/tags/v${version}";
hash = "sha256-45lmkE61uXVCBUMyVVzowTJoALY1m9JI68s7Yb0vCks=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
mac_alias
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"ds_store"
];
meta = with lib; {
homepage = "https://github.com/al45tair/ds_store";
description = "Manipulate Finder .DS_Store files from Python";
license = licenses.mit;
maintainers = with maintainers; [ prusnak ];
};
}