1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00

pythonPackages.pyev: drop

pyev is unmaintained, and was removed from PyPI.
This commit is contained in:
Mario Rodas 2019-09-15 12:46:58 -05:00
parent 3028233ea5
commit b05818f389
No known key found for this signature in database
GPG key ID: 4C4BEFD7B18DC5E8
2 changed files with 0 additions and 32 deletions

View file

@ -1,30 +0,0 @@
{ stdenv, fetchurl, buildPythonPackage, libev }:
buildPythonPackage rec {
pname = "pyev";
version = "0.9.0";
src = fetchurl {
url = "mirror://pypi/p/pyev/${pname}-${version}.tar.gz";
sha256 = "0rf603lc0s6zpa1nb25vhd8g4y337wg2wyz56i0agsdh7jchl0sx";
};
buildInputs = [ libev ];
libEvSharedLibrary =
if !stdenv.isDarwin
then "${libev}/lib/libev.so.4"
else "${libev}/lib/libev.4.dylib";
postPatch = ''
test -f "${libEvSharedLibrary}" || { echo "ERROR: File ${libEvSharedLibrary} does not exist, please fix nix expression for pyev"; exit 1; }
sed -i -e "s|libev_dll_name = find_library(\"ev\")|libev_dll_name = \"${libEvSharedLibrary}\"|" setup.py
'';
meta = with stdenv.lib; {
description = "Python bindings for libev";
homepage = https://code.google.com/p/pyev/;
license = licenses.gpl3;
maintainers = [ maintainers.bjornfor ];
};
}

View file

@ -4380,8 +4380,6 @@ in {
pyenchant = callPackage ../development/python-modules/pyenchant { };
pyev = callPackage ../development/python-modules/pyev { };
pyexcelerator = callPackage ../development/python-modules/pyexcelerator { };
pyext = callPackage ../development/python-modules/pyext { };