pythonPackages.Wand: refactor fix broken package

This commit is contained in:
Chris Ostrouchov
2018-12-02 07:52:42 -05:00
committed by Frederik Rietdijk
parent 380b7086bc
commit 5af94096ac
2 changed files with 4 additions and 157 deletions

View File

@@ -1,5 +1,4 @@
{ stdenv
, lib
, buildPythonPackage
, fetchPypi
, imagemagick
@@ -26,22 +25,19 @@ in buildPythonPackage rec {
buildInputs = [ imagemagick ];
patches = [
./libraries.patch
];
inherit magick_wand_library imagemagick_library;
postPatch = ''
substituteAllInPlace wand/api.py
'';
# No tests
# tests not included with pypi release
doCheck = false;
meta = {
meta = with stdenv.lib; {
description = "Ctypes-based simple MagickWand API binding for Python";
homepage = http://wand-py.org/;
license = with lib.licenses; [ mit ];
license = [ licenses.mit ];
};
passthru = {