biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / applications / misc / klipper-estimator / default.nix
blob243a485c4a52bd452ea8d348ab0f3a39a3af34d4
1 { lib
2 , fetchFromGitHub
3 , stdenv
4 , rustPlatform
5 , pkg-config
6 , openssl
7 , libgit2
8 , Security
9 , SystemConfiguration
12 rustPlatform.buildRustPackage rec {
13   pname = "klipper-estimator";
14   version = "3.7.2";
16   src = fetchFromGitHub {
17     owner = "Annex-Engineering";
18     repo = "klipper_estimator";
19     rev = "v${version}";
20     hash = "sha256-OvDdANowsz3qU2KV4WbUWyDrh3sG02+lBKNtcq6ecZ8=";
21   };
23   cargoHash = "sha256-1O3kXeGPALSa/kNWRArk6ULG0+3UgTxVBzrsqDHHpDU=";
25   buildInputs =
26     [ openssl ]
27     ++ lib.optionals stdenv.isDarwin [ libgit2 Security SystemConfiguration ];
29   nativeBuildInputs = [ pkg-config ];
31   meta = with lib; {
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 ];
38   };