1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6}:
7
8buildPythonPackage rec {
9 pname = "gcodepy";
10 version = "0.1.1";
11 format = "pyproject";
12
13 src = fetchFromGitHub {
14 owner = "rmeno12";
15 repo = "gcodepy";
16 rev = "v${version}";
17 hash = "sha256-+amBkwwISPyes8ABdqgCw50Zg5ioDa46WZgQsZZgl+8=";
18 };
19
20 nativeBuildInputs = [ setuptools ];
21
22 pythonImportsCheck = [ "gcodepy" ];
23
24 meta = with lib; {
25 description = "G-code generator for 3D printers that use Marlin Firmware";
26 homepage = "https://github.com/rmeno12/gcodepy";
27 changelog = "https://github.com/rmeno12/gcodepy/releases/tag/v${version}";
28 license = licenses.mit;
29 maintainers = with maintainers; [ n00b0ss ];
30 };
31}