blob: 814cac3c9e6e92aee490ec31fe0b2925714be1ab (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
{ stdenv, buildPythonPackage, fetchFromGitHub, pyparsing, pytest }:
buildPythonPackage rec {
version = "0.8.1";
pname = "ezdxf";
src = fetchFromGitHub {
owner = "mozman";
repo = "ezdxf";
rev = "v${version}";
sha256 = "1c20j96n3rsgzaakfjl0wnydaj2qr69gbnnjs6mfa1hz2fjqri22";
};
buildInputs = [ pytest ];
checkPhase = "python -m unittest discover -s tests";
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;
maintainers = with maintainers; [ hodapp ];
platforms = platforms.unix;
};
}
|