3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/mac_alias/default.nix
Sirio Balmelli 1e529449e8 python3Packages.mac_alias: init at 2.0.7
Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
2020-07-13 12:03:17 -07:00

32 lines
986 B
Nix

{ 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 ];
};
}