1 { lib, stdenv, fetchFromGitHub, rustPlatform, Foundation }:
3 rustPlatform.buildRustPackage rec {
5 version = "unstable-2021-06-18";
7 src = fetchFromGitHub {
10 rev = "c833b9551ed0b09e311cdb369cc8226c5b9cac6a";
11 sha256 = "sha256-ZA1q1YVJcdSUF9NTikyT3vrRnqbsu5plzRI2gMu+qnQ=";
14 cargoSha256 = "sha256-6ZhWStZebXSwrej36DXifrsrmR1SWW3PwGUX0hqPwE4=";
15 buildInputs = lib.optionals stdenv.isDarwin [ Foundation ];
18 description = "A simple CLI pomodoro timer using desktop notifications written in Rust";
19 homepage = "https://github.com/SanderJSA/Pomodoro";
20 license = licenses.mit;
21 maintainers = with maintainers; [ annaaurora ];
22 # error: redefinition of module 'ObjectiveC'
23 broken = stdenv.isDarwin;