diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2024-01-07 16:14:41 +0100 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2024-01-07 16:14:41 +0100 |
commit | ff42d23313880d627c7dea5addf744db4562dee5 (patch) | |
tree | c9b37f000821c6e8e2e39d983ce8ea25a56e949c /pkgs/development/python-modules/mac-alias/default.nix | |
parent | 798690dc6b55c17705f9f2faab07d5b86b6d50d4 (diff) | |
parent | 9ea3a3cfaa995c201b68c1cd3877bd35e1d7dd04 (diff) | |
download | nixlib-ff42d23313880d627c7dea5addf744db4562dee5.tar nixlib-ff42d23313880d627c7dea5addf744db4562dee5.tar.gz nixlib-ff42d23313880d627c7dea5addf744db4562dee5.tar.bz2 nixlib-ff42d23313880d627c7dea5addf744db4562dee5.tar.lz nixlib-ff42d23313880d627c7dea5addf744db4562dee5.tar.xz nixlib-ff42d23313880d627c7dea5addf744db4562dee5.tar.zst nixlib-ff42d23313880d627c7dea5addf744db4562dee5.zip |
Merge branch 'master' into staging-next
Conflicts: pkgs/development/python-modules/dbt-core/default.nix pkgs/development/python-modules/dbt-semantic-interfaces/default.nix Still broken by pydantic 2 bump, though.
Diffstat (limited to 'pkgs/development/python-modules/mac-alias/default.nix')
-rw-r--r-- | pkgs/development/python-modules/mac-alias/default.nix | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/mac-alias/default.nix b/pkgs/development/python-modules/mac-alias/default.nix new file mode 100644 index 000000000000..159dfa1d89ad --- /dev/null +++ b/pkgs/development/python-modules/mac-alias/default.nix @@ -0,0 +1,40 @@ +{ lib +, buildPythonPackage +, fetchPypi +, setuptools +}: + +buildPythonPackage rec { + pname = "mac-alias"; + version = "2.2.2"; + format = "pyproject"; + + 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 = 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 ]; + }; +} |