12 rustPlatform.buildRustPackage rec {
13 pname = "klipper-estimator";
16 src = fetchFromGitHub {
17 owner = "Annex-Engineering";
18 repo = "klipper_estimator";
20 hash = "sha256-EjfW2qeq0ehGhjE2Psz5g/suYMZPvtQi2gaYb+NCa2U=";
23 cargoHash = "sha256-bboXG2nBrK2hVzB43um6EUgLPlSa8huyPH7VOJ48Nkk=";
27 ++ lib.optionals stdenv.hostPlatform.isDarwin [ libgit2 Security SystemConfiguration ];
29 nativeBuildInputs = [ pkg-config ];
32 description = "Tool for determining the time a print will take using the Klipper firmware";
33 homepage = "https://github.com/Annex-Engineering/klipper_estimator";
34 changelog = "https://github.com/Annex-Engineering/klipper_estimator/releases/tag/v${version}";
35 mainProgram = "klipper_estimator";
36 license = licenses.mit;
37 maintainers = with maintainers; [ tmarkus ];