Files
nixpkgs/pkgs/by-name/li/libbgcode/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

44 lines
815 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
cmake,
pkg-config,
heatshrink,
zlib,
boost,
catch2_3,
}:
stdenv.mkDerivation {
pname = "libbgcode";
version = "0-unstable-2025-02-19";
src = fetchFromGitHub {
owner = "prusa3d";
repo = "libbgcode";
rev = "5041c093b33e2748e76d6b326f2251310823f3df";
hash = "sha256-EaxVZerH2v8b1Yqk+RW/r3BvnJvrAelkKf8Bd+EHbEc=";
};
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
heatshrink
zlib
boost
catch2_3
];
meta = with lib; {
homepage = "https://github.com/prusa3d/libbgcode";
description = "Prusa Block & Binary G-code reader / writer / converter";
mainProgram = "bgcode";
license = licenses.agpl3Only;
maintainers = with maintainers; [ lach ];
platforms = platforms.unix;
};
}