Unverified Commit 6a3c3084 authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

python3Packages: Remove Python2 packages (#392235)

parents 74ac6644 76fba3ef
Loading
Loading
Loading
Loading
+0 −28
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchPypi,
  isPy27,
  oauth2,
}:

buildPythonPackage rec {
  pname = "evernote";
  version = "1.25.3";
  format = "setuptools";
  disabled = !isPy27; # some dependencies do not work with py3

  src = fetchPypi {
    inherit pname version;
    sha256 = "796847e0b7517e729041c5187fa1665c3f6fc0491cb4d71fb95a62c4f22e64eb";
  };

  propagatedBuildInputs = [ oauth2 ];

  meta = with lib; {
    description = "Evernote SDK for Python";
    homepage = "https://dev.evernote.com";
    license = licenses.asl20;
    maintainers = with maintainers; [ hbunke ];
  };
}
+0 −48
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  isPy27,
  thrift,
  beautifulsoup4,
  markdown2,
  sqlalchemy,
  html2text,
  evernote,
}:

buildPythonPackage {
  version = "2015-05-11";
  format = "setuptools";
  pname = "geeknote";
  disabled = !isPy27;

  src = fetchFromGitHub {
    owner = "VitaliyRodnenko";
    repo = "geeknote";
    rev = "8489a87d044e164edb321ba9acca8d4631de3dca";
    sha256 = "0l16v4xnyqnsf84b1pma0jmdyxvmfwcv3sm8slrv3zv7zpmcm3lf";
  };

  /*
    build with tests fails with "Can not create application dirictory :
    /homeless-shelter/.geeknotebuilder".
  */
  doCheck = false;

  propagatedBuildInputs = [
    thrift
    beautifulsoup4
    markdown2
    sqlalchemy
    html2text
    evernote
  ];

  meta = with lib; {
    description = "Work with Evernote from command line";
    homepage = "http://www.geeknote.me";
    license = licenses.gpl1Only;
    maintainers = with maintainers; [ hbunke ];
  };
}
+0 −27
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchPypi,
  pillow,
  isPy27,
}:

buildPythonPackage rec {
  pname = "modestmaps";
  version = "1.4.7";
  disabled = !isPy27;

  src = fetchPypi {
    pname = "ModestMaps";
    inherit version;
    sha256 = "698442a170f02923f8ea55f18526b56c17178162e44304f896a8a5fd65ab4457";
  };

  propagatedBuildInputs = [ pillow ];

  meta = with lib; {
    description = "Library for building interactive maps";
    homepage = "http://modestmaps.com";
    license = licenses.bsd3;
  };
}
+0 −25
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchPypi,
  isPy27,
}:

buildPythonPackage rec {
  pname = "pychart";
  version = "1.39";
  format = "setuptools";

  disabled = !isPy27;

  src = fetchPypi {
    inherit pname version;
    sha256 = "882650928776a7ca72e67054a9e0ac98f78645f279c0cfb5910db28f03f07c2e";
  };

  meta = with lib; {
    description = "Library for creating high quality encapsulated Postscript, PDF, PNG, or SVG charts";
    homepage = "https://pypi.python.org/pypi/PyChart";
    license = licenses.gpl2;
  };
}
+0 −30
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchPypi,
  isPy27,
}:

buildPythonPackage rec {
  pname = "python-wifi";
  version = "0.6.1";
  format = "setuptools";
  disabled = !isPy27;

  src = fetchPypi {
    inherit pname version;
    extension = "tar.bz2";
    sha256 = "149c3dznb63d82143cz5hqdim0mqjysz6p3yk0zv271vq3xnmzvv";
  };

  meta = with lib; {
    description = "Read & write wireless card capabilities using the Linux Wireless Extensions";
    homepage = "http://pythonwifi.tuxfamily.org/";
    # From the README: "pythonwifi is licensed under LGPLv2+, however, the
    # examples (e.g. iwconfig.py and iwlist.py) are licensed under GPLv2+."
    license = with licenses; [
      lgpl2Plus
      gpl2Plus
    ];
  };
}
Loading