Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0ab6891b879b
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 51502a724067
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Apr 23, 2020

  1. pyclipper: init at 1.1.0.post3

    matthuszagh authored and Jon committed Apr 23, 2020
    Copy the full SHA
    51502a7 View commit details
Showing with 37 additions and 0 deletions.
  1. +35 −0 pkgs/development/python-modules/pyclipper/default.nix
  2. +2 −0 pkgs/top-level/python-packages.nix
35 changes: 35 additions & 0 deletions pkgs/development/python-modules/pyclipper/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{ stdenv
, fetchPypi
, buildPythonPackage
, setuptools_scm
, cython
}:

buildPythonPackage rec {
pname = "pyclipper";
version = "1.1.0.post3";

src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "164yksvqwqvwzh8f8lq92asg87hd8rvcy2xb5vm4y4ccvd5xgb7i";
};

nativeBuildInputs = [
setuptools_scm
cython
];

# Requires pytest_runner to perform tests, which requires deprecated
# features of setuptools. Seems better to not run tests. This should
# be fixed upstream.
doCheck = false;
pythonImportsCheck = [ "pyclipper" ];

meta = with stdenv.lib; {
description = "Cython wrapper for clipper library";
homepage = "https://github.com/fonttools/pyclipper";
license = licenses.mit;
maintainers = with maintainers; [ matthuszagh ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
@@ -1071,6 +1071,8 @@ in {

purl = callPackage ../development/python-modules/purl { };

pyclipper = callPackage ../development/python-modules/pyclipper { };

pymystem3 = callPackage ../development/python-modules/pymystem3 { };

pymysql = callPackage ../development/python-modules/pymysql { };