biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / tools / misc / dijo / default.nix
blob344faf84f60bd70c6077df2788121d69fc363bb2
1 { stdenv, lib, rustPlatform, fetchFromGitHub, ncurses, CoreServices }:
3 rustPlatform.buildRustPackage rec {
4   pname = "dijo";
5   version = "0.2.7";
6   buildInputs = [ ncurses ] ++ lib.optional stdenv.hostPlatform.isDarwin CoreServices;
7   src = fetchFromGitHub {
8     owner = "NerdyPepper";
9     repo = "dijo";
10     rev = "v${version}";
11     sha256 = "sha256-g+A8BJxqoAvm9LTLrLnClVGtFJCQ2gT0mDGAov/6vXE=";
12   };
13   cargoHash = "sha256-o3+KcE7ozu6eUgwsOSr9DOoIo+/BZ3bJZe+WYQLXHpY=";
15   meta = with lib; {
16     description = "Scriptable, curses-based, digital habit tracker";
17     homepage = "https://github.com/NerdyPepper/dijo";
18     license = licenses.mit;
19     maintainers = [ ];
20     mainProgram = "dijo";
21   };