about summary refs log tree commit diff
path: root/pkgs/development/python-modules/gcodepy/default.nix
blob: 6e62d9bb3bf6778c37c8e22c982bfe9f7bc6897e (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
27
28
29
30
31
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
}:

buildPythonPackage rec {
  pname = "gcodepy";
  version = "0.1.1";
  format = "pyproject";

  src = fetchFromGitHub {
    owner = "rmeno12";
    repo = "gcodepy";
    rev = "v${version}";
    hash = "sha256-+amBkwwISPyes8ABdqgCw50Zg5ioDa46WZgQsZZgl+8=";
  };

  nativeBuildInputs = [ setuptools ];

  pythonImportsCheck = [ "gcodepy" ];

  meta = with lib; {
    description = "G-code generator for 3D printers that use Marlin Firmware";
    homepage = "https://github.com/rmeno12/gcodepy";
    changelog = "https://github.com/rmeno12/gcodepy/releases/tag/v${version}";
    license = licenses.mit;
    maintainers = with maintainers; [ n00b0ss ];
  };
}