11 rustPlatform.buildRustPackage rec {
15 src = fetchFromGitHub {
16 owner = "attriaayush";
19 sha256 = "sha256-lEjJLmBA3dlIVxc8E+UvR7u154QGeCfEbxdgUxAS3Cw=";
23 lockFile = ./Cargo.lock;
25 "clokwerk-0.4.0-rc1" = "sha256-GQDWEN2arDDRu2ft8QYdXsNhBEIhBNZTnLoLy27cbAI=";
36 ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
37 darwin.apple_sdk.frameworks.Cocoa
40 # 4 out of 5 tests are notification tests which do not work in nix builds
43 preBuild = lib.optionalString stdenv.hostPlatform.isDarwin ''
44 export HOME=$(mktemp -d)
48 description = "Github notifications in your terminal";
49 homepage = "https://github.com/attriaayush/ghostie";
50 changelog = "https://github.com/attriaayush/ghostie/releases/tag/v${version}";
51 license = licenses.mit;
52 maintainers = with maintainers; [ matthiasbeyer ];
53 broken = stdenv.hostPlatform.isx86_64 && stdenv.hostPlatform.isDarwin;
54 mainProgram = "ghostie";