python3Packages.mac_alias: init at 2.0.7

Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
This commit is contained in:
Sirio Balmelli 2020-07-11 01:01:33 +02:00 committed by Jon
parent 7e8d919787
commit 1e529449e8
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,31 @@
{ 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 ];
};
}

View File

@ -930,6 +930,8 @@ in {
logzero = callPackage ../development/python-modules/logzero { }; logzero = callPackage ../development/python-modules/logzero { };
mac_alias = callPackage ../development/python-modules/mac_alias { };
macropy = callPackage ../development/python-modules/macropy { }; macropy = callPackage ../development/python-modules/macropy { };
mail-parser = callPackage ../development/python-modules/mail-parser { }; mail-parser = callPackage ../development/python-modules/mail-parser { };