python3Packages.pyobjc-framework-Cocoa: small refactor
This commit is contained in:
@@ -9,15 +9,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyobjc-framework-Cocoa";
|
||||
version = "11.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ronaldoussoren";
|
||||
repo = "pyobjc";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-2qPGJ/1hXf3k8AqVLr02fVIM9ziVG9NMrm3hN1de1Us=";
|
||||
};
|
||||
inherit (pyobjc-core) version src;
|
||||
|
||||
patches = pyobjc-core.patches or [ ];
|
||||
|
||||
sourceRoot = "${src.name}/pyobjc-framework-Cocoa";
|
||||
|
||||
@@ -56,11 +52,11 @@ buildPythonPackage rec {
|
||||
"PyObjCTools"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "PyObjC wrappers for the Cocoa frameworks on macOS";
|
||||
homepage = "https://github.com/ronaldoussoren/pyobjc";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.darwin;
|
||||
maintainers = with maintainers; [ samuela ];
|
||||
homepage = "https://github.com/ronaldoussoren/pyobjc/tree/main/pyobjc-framework-Cocoa";
|
||||
license = lib.licenses.mit;
|
||||
platforms = lib.platforms.darwin;
|
||||
maintainers = with lib.maintainers; [ samuela ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user