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