git.iko.soy/typeable/nixpkgs
on master help sign in
python3Packages.mac_alias: init at 2.0.7

Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>

commit1e529449e89c66c5bf97d836c7a7bed4935e4f70 authorSirio Balmelli <sirio@b-ad.ch> dateSat 11 Jul 2020, 01:01 (6 years ago) parent7e8d919
2 files changed+33
pkgs/development/python-modules/mac_alias/default.nix+31 pkgs/top-level/python-packages.nix+2
pkgs/development/python-modules/mac_alias/default.nixnew file+31
@@ -0,0 +1,31 @@
1+{ lib, buildPythonPackage, fetchPypi
2+}:
3+
4+buildPythonPackage rec {
5+ version = "2.0.7";
6+ pname = "mac_alias";
7+
8+ src = fetchPypi {
9+ inherit pname version;
10+ sha256 = "08z2i68mk5j0vfy8jqihjm9m6njp1lpjh1m91b60h0k0kpmy71f4";
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+}
pkgs/top-level/python-packages.nix+2
@@ -930,6 +930,8 @@ in {
930930
931931 logzero = callPackage ../development/python-modules/logzero { };
932932
933+ mac_alias = callPackage ../development/python-modules/mac_alias { };
934+
933935 macropy = callPackage ../development/python-modules/macropy { };
934936
935937 mail-parser = callPackage ../development/python-modules/mail-parser { };