aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/mac_alias/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/mac_alias/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/mac_alias/default.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/mac_alias/default.nix b/nixpkgs/pkgs/development/python-modules/mac_alias/default.nix
new file mode 100644
index 00000000000..bd2a1f62390
--- /dev/null
+++ b/nixpkgs/pkgs/development/python-modules/mac_alias/default.nix
@@ -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 ];
+ };
+}