1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, mac_alias 5, pytestCheckHook 6}: 7 8buildPythonPackage rec { 9 pname = "ds_store"; 10 version = "1.3.0"; 11 12 src = fetchFromGitHub { 13 owner = "al45tair"; 14 repo = pname; 15 rev = "v${version}"; 16 sha256 = "1zmhnz110dvisydp5h6s0ry2v9qf4rgr60xhhlak0c66zpvlkkl0"; 17 }; 18 19 propagatedBuildInputs = [ mac_alias ]; 20 21 checkInputs = [ pytestCheckHook ]; 22 23 pythonImportsCheck = [ "ds_store" ]; 24 25 meta = with lib; { 26 homepage = "https://github.com/al45tair/ds_store"; 27 description = "Manipulate Finder .DS_Store files from Python"; 28 license = licenses.mit; 29 maintainers = with maintainers; [ prusnak ]; 30 }; 31}