3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/ezdxf/default.nix

29 lines
764 B
Nix
Raw Normal View History

{ stdenv, buildPythonPackage, pythonOlder, fetchFromGitHub, pyparsing, pytest }:
2017-04-24 22:14:24 +01:00
buildPythonPackage rec {
2020-02-26 21:34:10 +00:00
version = "0.11";
pname = "ezdxf";
2017-04-24 22:14:24 +01:00
disabled = pythonOlder "3.5";
2017-04-25 22:22:53 +01:00
src = fetchFromGitHub {
owner = "mozman";
repo = "ezdxf";
rev = "v${version}";
2020-02-26 21:34:10 +00:00
sha256 = "167iw1j1c6195bwv6i8z1m7s0i27r0y0acxd2w76hvnq3a72jbsd";
2017-04-24 22:14:24 +01:00
};
checkInputs = [ pytest ];
checkPhase = "pytest tests integration_tests";
2017-04-25 22:22:53 +01:00
2017-04-24 22:14:24 +01:00
propagatedBuildInputs = [ pyparsing ];
meta = with stdenv.lib; {
description = "Python package to read and write DXF drawings (interface to the DXF file format)";
2020-02-26 21:34:10 +00:00
homepage = "https://github.com/mozman/ezdxf/";
2017-04-24 22:14:24 +01:00
license = licenses.mit;
2017-04-25 22:34:45 +01:00
maintainers = with maintainers; [ hodapp ];
2017-04-24 22:14:24 +01:00
platforms = platforms.unix;
};
}