
gebner has been an amazing maintainer, but appears to have moved on: the last commit on nixpkgs appears to have been in Feb 2023, and they have not been responding to pings (e.g. https://github.com/NixOS/nixpkgs/issues/347764). They also approved https://github.com/NixOS/nixpkgs/pull/337292 before, but that PR had some additional changes and was closed without merging. This PR is in no way intended to diminuish Gabriel's accomplishments, and they're welcome to just say so if they'd prefer this PR not to be merged. Also, even if it's merged, of course they're always welcome to return to activity and be added back. The intent of this PR is to give more realistic expectations around the maintainership of these packages, and to invite others to step up for maintainership if they rely on those packages. This seems in line with https://github.com/NixOS/nixpkgs/tree/master/maintainers#how-to-lose-maintainer-status
43 lines
1.0 KiB
Nix
43 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "marlin-calc";
|
|
version = "2019-10-17";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "eyal0";
|
|
repo = "Marlin";
|
|
rev = "3d5a5c86bea35a2a169eb56c70128bf2d070feef";
|
|
sha256 = "14sqajm361gnrcqv84g7kbmyqm8pppbhqsabszc4j2cn7vbwkdg5";
|
|
};
|
|
|
|
postPatch = ''
|
|
# missing header for gcc >= 11
|
|
sed -i '1i#include <limits>' Marlin/src/module/calc.cpp
|
|
'';
|
|
|
|
buildPhase = ''
|
|
cd Marlin/src
|
|
c++ module/planner.cpp module/calc.cpp feature/fwretract.cpp \
|
|
-O2 -Wall -std=gnu++11 -o marlin-calc
|
|
'';
|
|
|
|
installPhase = ''
|
|
install -Dm0755 {,$out/bin/}marlin-calc
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/eyal0/Marlin";
|
|
description = "Marlin 3D printer timing simulator";
|
|
license = licenses.gpl3;
|
|
maintainers = with maintainers; [ ];
|
|
platforms = platforms.unix;
|
|
broken = stdenv.hostPlatform.isDarwin; # never built on Hydra https://hydra.nixos.org/job/nixpkgs/trunk/marlin-calc.x86_64-darwin
|
|
mainProgram = "marlin-calc";
|
|
};
|
|
}
|