mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00

They are not doing anything right now. This is in preparation for their complete removal from the tree. Note: several changes that affect the derivation inputs (e.g. removal of references to stub paths in build instructions) were left out. They will be cleaned up the next iteration and will require special care. Note: this PR is a result of a mix of ugly regex (not AST) based automation and some manual labor. For reference, the regex automation part was hacked in: https://github.com/booxter/nix-clean-apple_sdk Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
31 lines
827 B
Nix
31 lines
827 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
rustPlatform,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage {
|
|
pname = "pomodoro";
|
|
version = "unstable-2021-06-18";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "SanderJSA";
|
|
repo = "Pomodoro";
|
|
rev = "c833b9551ed0b09e311cdb369cc8226c5b9cac6a";
|
|
sha256 = "sha256-ZA1q1YVJcdSUF9NTikyT3vrRnqbsu5plzRI2gMu+qnQ=";
|
|
};
|
|
|
|
useFetchCargoVendor = true;
|
|
cargoHash = "sha256-oXOf9G0BMSbFFAsmRaAZzaquFva1i1gJ4ISqJkqSx4k=";
|
|
|
|
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.hostPlatform.isDarwin;
|
|
mainProgram = "pomodoro";
|
|
};
|
|
}
|