nixpkgs/pkgs/development/python-modules/mac_alias/default.nix

32 lines
986 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi
}:
buildPythonPackage rec {
version = "2.0.7";
pname = "mac_alias";
src = fetchPypi {
inherit pname version;
sha256 = "08z2i68mk5j0vfy8jqihjm9m6njp1lpjh1m91b60h0k0kpmy71f4";
};
# pypi package does not include tests;
# tests anyway require admin privileges to succeed
doCheck = false;
pythonImportsCheck = [ "mac_alias" ];
meta = with lib; {
homepage = "https://github.com/al45tair/mac_alias";
description = "Generate or read binary Alias and Bookmark records from Python code";
longDescription = ''
mac_alias lets you generate or read binary Alias and Bookmark records from Python code.
While it is written in pure Python, some OS X specific code is required
to generate a proper Alias or Bookmark record for a given file,
so this module currently is not portable to other platforms.
'';
license = licenses.mit;
maintainers = with maintainers; [ siriobalmelli ];
};
}