Something went wrong. Try again.
lol
Something went wrong. Try again.
883 B · 42 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243{ lib, buildPythonPackage, fetchFromGitHub, mac-alias, pytestCheckHook, setuptools,}:
buildPythonPackage rec { pname = "ds-store"; version = "1.3.2"; pyproject = true;
src = fetchFromGitHub { owner = "al45tair"; repo = "ds_store"; tag = "v${version}"; hash = "sha256-UqBZ6w9y+eOQ+OdhXJReT4GwaxEbrGFvmUQMrNyBdjU="; };
postPatch = '' substituteInPlace pyproject.toml \ --replace-fail "setuptools==80.9.0" "setuptools" '';
build-system = [ setuptools ];
dependencies = [ mac-alias ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "ds_store" ];
meta = { homepage = "https://github.com/al45tair/ds_store"; description = "Manipulate Finder .DS_Store files from Python"; mainProgram = "ds_store"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ prusnak ]; };}