depot/third_party/nixpkgs/pkgs/development/python-modules/gcodepy/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

31 lines
722 B
Nix

{
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 ];
};
}