5ca88bfbb9
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
22 lines
689 B
Nix
22 lines
689 B
Nix
{ stdenv, lib, rustPlatform, fetchFromGitHub, ncurses, CoreServices }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "dijo";
|
|
version = "0.2.7";
|
|
buildInputs = [ ncurses ] ++ lib.optional stdenv.isDarwin CoreServices;
|
|
src = fetchFromGitHub {
|
|
owner = "NerdyPepper";
|
|
repo = "dijo";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-g+A8BJxqoAvm9LTLrLnClVGtFJCQ2gT0mDGAov/6vXE=";
|
|
};
|
|
cargoHash = "sha256-o3+KcE7ozu6eUgwsOSr9DOoIo+/BZ3bJZe+WYQLXHpY=";
|
|
|
|
meta = with lib; {
|
|
description = "Scriptable, curses-based, digital habit tracker";
|
|
homepage = "https://github.com/NerdyPepper/dijo";
|
|
license = licenses.mit;
|
|
maintainers = [ ];
|
|
mainProgram = "dijo";
|
|
};
|
|
}
|