diff --git a/pkgs/development/python-modules/ezdxf/default.nix b/pkgs/development/python-modules/ezdxf/default.nix new file mode 100644 index 000000000000..18e8e98315cc --- /dev/null +++ b/pkgs/development/python-modules/ezdxf/default.nix @@ -0,0 +1,23 @@ +{ stdenv, buildPythonPackage, fetchurl, isPy3k, pyparsing }: + +buildPythonPackage rec { + version = "0.8.1"; + name = "ezdxf-${version}"; + + src = fetchurl { + url = "mirror://pypi/e/ezdxf/${name}.zip"; + sha256 = "1q4la4h7840wb8l2jf39wy68gq5jwymkghb1a1mg8qblj424130k"; + }; + + # Tests fail on Python 3.x, but module imports and works + doCheck = !(isPy3k); + + propagatedBuildInputs = [ pyparsing ]; + + meta = with stdenv.lib; { + description = "Python package to read and write DXF drawings (interface to the DXF file format)"; + homepage = https://github.com/mozman/ezdxf/; + license = licenses.mit; + platforms = platforms.unix; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 3222e4f1155e..06455ecd5996 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -6990,6 +6990,8 @@ in { }; }; + ezdxf = callPackage ../development/python-modules/ezdxf {}; + facebook-sdk = buildPythonPackage rec { name = "facebook-sdk-0.4.0";