libbgcode: init at 2023-11-16
This commit is contained in:
parent
fa36136cee
commit
33b8553908
1 changed files with 40 additions and 0 deletions
40
pkgs/by-name/li/libbgcode/package.nix
Normal file
40
pkgs/by-name/li/libbgcode/package.nix
Normal file
|
@ -0,0 +1,40 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, pkg-config
|
||||
, heatshrink
|
||||
, zlib
|
||||
, boost
|
||||
, catch2
|
||||
}:
|
||||
stdenv.mkDerivation {
|
||||
pname = "libbgcode";
|
||||
version = "2023-11-16";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "prusa3d";
|
||||
repo = "libbgcode";
|
||||
rev = "bc390aab4427589a6402b4c7f65cf4d0a8f987ec";
|
||||
hash = "sha256-TZShYeDAh+fNdmTr1Xqctji9f0vEGpNZv1ba/IY5EoY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
heatshrink
|
||||
zlib
|
||||
boost
|
||||
catch2
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/prusa3d/libbgcode";
|
||||
description = "Prusa Block & Binary G-code reader / writer / converter";
|
||||
license = licenses.agpl3Only;
|
||||
maintainers = with maintainers; [ lach ];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue