mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
python.pkgs.pyobjc: init at 4.0b1
This commit is contained in:
parent
9e2f54a30c
commit
a5f5bee85f
23
pkgs/development/python-modules/pyobjc/default.nix
Normal file
23
pkgs/development/python-modules/pyobjc/default.nix
Normal file
@ -0,0 +1,23 @@
|
||||
{ stdenv, fetchPypi, isPy3k, buildPythonPackage }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "pyobjc";
|
||||
version = "4.0b1";
|
||||
|
||||
# Gives "No matching distribution found for
|
||||
# pyobjc-framework-Collaboration==4.0b1 (from pyobjc==4.0b1)"
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "16bng6960c1m57nnh1l09ycnyimrqzw9mx9pnyjxn5zzm5kalr37";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "A bridge between the Python and Objective-C programming languages";
|
||||
license = stdenv.lib.licenses.mit;
|
||||
maintainers = with stdenv.lib.maintainers; [ sauyon ];
|
||||
homepage = https://pythonhosted.org/pyobjc/;
|
||||
};
|
||||
}
|
@ -16579,6 +16579,10 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
pyobjc = if stdenv.isDarwin
|
||||
then callPackage ../development/python-modules/pyobjc {}
|
||||
else throw "pyobjc can only be built on Mac OS";
|
||||
|
||||
pyodbc = callPackage ../development/python-modules/pyodbc { };
|
||||
|
||||
pyocr = callPackage ../development/python-modules/pyocr { };
|
||||
|
Loading…
Reference in New Issue
Block a user