1{ lib 2, buildPythonPackage 3, fetchPypi 4, setuptools 5}: 6 7buildPythonPackage rec { 8 pname = "mac-alias"; 9 version = "2.2.2"; 10 format = "pyproject"; 11 12 src = fetchPypi { 13 pname = "mac_alias"; 14 inherit version; 15 hash = "sha256-yZxyjrUS6VXBHxpiA6D/qIg7JlSeiv5ogEAxql2oVrc="; 16 }; 17 18 nativeBuildInputs = [ 19 setuptools 20 ]; 21 22 # pypi package does not include tests; 23 # tests anyway require admin privileges to succeed 24 doCheck = false; 25 pythonImportsCheck = [ "mac_alias" ]; 26 27 meta = with lib; { 28 homepage = "https://github.com/al45tair/mac_alias"; 29 description = "Generate or read binary Alias and Bookmark records from Python code"; 30 longDescription = '' 31 mac_alias lets you generate or read binary Alias and Bookmark records from Python code. 32 33 While it is written in pure Python, some OS X specific code is required 34 to generate a proper Alias or Bookmark record for a given file, 35 so this module currently is not portable to other platforms. 36 ''; 37 license = licenses.mit; 38 maintainers = with maintainers; [ siriobalmelli ]; 39 }; 40}