Merge pull request #259444 from n00b0ss/gcodepy

python3.pkgs.gcodepy: init at 0.1.1
This commit is contained in:
Emily Trau 2023-12-01 21:36:05 +11:00 committed by GitHub
commit 684ced4db8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 42 additions and 0 deletions

View File

@ -12622,6 +12622,12 @@
githubId = 9636071;
name = "Myrl Hex";
};
n00b0ss = {
email = "nixpkgs@n00b0ss.de";
github = "n00b0ss";
githubId = 61601147;
name = "basti n00b0ss";
};
n0emis = {
email = "nixpkgs@n0emis.network";
github = "n0emis";

View File

@ -0,0 +1,34 @@
{ 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 ];
};
}

View File

@ -4347,6 +4347,8 @@ self: super: with self; {
gcal-sync = callPackage ../development/python-modules/gcal-sync { };
gcodepy = callPackage ../development/python-modules/gcodepy { };
gcovr = callPackage ../development/python-modules/gcovr { };
gcs-oauth2-boto-plugin = callPackage ../development/python-modules/gcs-oauth2-boto-plugin { };