mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
26 lines
685 B
Nix
26 lines
685 B
Nix
{ stdenv, buildPythonPackage, fetchFromGitHub, pyparsing, pytest }:
|
|
|
|
buildPythonPackage rec {
|
|
version = "0.8.1";
|
|
name = "ezdxf-${version}";
|
|
|
|
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;
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|