depot/third_party/nixpkgs/pkgs/applications/misc/pomodoro/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

26 lines
853 B
Nix

{ lib, stdenv, fetchFromGitHub, rustPlatform, Foundation }:
rustPlatform.buildRustPackage rec {
pname = "pomodoro";
version = "unstable-2021-06-18";
src = fetchFromGitHub {
owner = "SanderJSA";
repo = "Pomodoro";
rev = "c833b9551ed0b09e311cdb369cc8226c5b9cac6a";
sha256 = "sha256-ZA1q1YVJcdSUF9NTikyT3vrRnqbsu5plzRI2gMu+qnQ=";
};
cargoHash = "sha256-6ZhWStZebXSwrej36DXifrsrmR1SWW3PwGUX0hqPwE4=";
buildInputs = lib.optionals stdenv.isDarwin [ Foundation ];
meta = with lib; {
description = "Simple CLI pomodoro timer using desktop notifications written in Rust";
homepage = "https://github.com/SanderJSA/Pomodoro";
license = licenses.mit;
maintainers = with maintainers; [ annaaurora ];
# error: redefinition of module 'ObjectiveC'
broken = stdenv.isDarwin;
mainProgram = "pomodoro";
};
}