Merge pull request #25192 from Hodapp87/ezdxf
ezdxf (Python package): init at 0.8.1
This commit is contained in:
26
pkgs/development/python-modules/ezdxf/default.nix
Normal file
26
pkgs/development/python-modules/ezdxf/default.nix
Normal file
@@ -0,0 +1,26 @@
|
||||
{ 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;
|
||||
maintainers = with maintainers; [ hodapp ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user