blob: 8a8cad4e8df216a7918a57b078c7f980bcbdb86e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
}:
buildPythonPackage rec {
pname = "mac-alias";
version = "2.2.2";
pyproject = true;
src = fetchPypi {
pname = "mac_alias";
inherit version;
hash = "sha256-yZxyjrUS6VXBHxpiA6D/qIg7JlSeiv5ogEAxql2oVrc=";
};
nativeBuildInputs = [ setuptools ];
# pypi package does not include tests;
# tests anyway require admin privileges to succeed
doCheck = false;
pythonImportsCheck = [ "mac_alias" ];
meta = {
homepage = "https://github.com/al45tair/mac_alias";
description = "Generate or read binary Alias and Bookmark records from Python code";
mainProgram = "mac_alias";
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 = lib.licenses.mit;
maintainers = with lib.maintainers; [ siriobalmelli ];
};
}
|