nixpkgs/pkgs/development/python-modules/mac_alias/default.nix
2020-11-30 06:50:37 +00:00

32 lines
998 B
Nix

{ lib, buildPythonPackage, fetchPypi
}:
buildPythonPackage rec {
version = "2.1.1";
pname = "mac_alias";
src = fetchPypi {
inherit pname version;
sha256 = "55468c84a87c8b3929a3dc98f753194f7fe93fd8621abbfea1a4019448058a14";
};
# 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 ];
};
}