@@ -0,0 +1,22 @@
1+{ stdenv, lib, rustPlatform, fetchFromGitHub, ncurses, CoreServices }:
2+let version = "0.1.5"; in
3+rustPlatform.buildRustPackage {
6+ buildInputs = [ ncurses ] ++ lib.optional stdenv.isDarwin CoreServices;
7+ src = fetchFromGitHub {
8+ owner = "NerdyPepper";
11+ sha256 = "1ch320j2d66zn9mbs7xl0bkfcm2hpak6izk0yspz1gcji1l7grsc";
13+ cargoSha256 = "1p6apz3wd4gqp0z24ygfw8nmpkh44d000jp6x7svqzmpphnmb0ji";
16+ description = "Scriptable, curses-based, digital habit tracker.";
17+ homepage = "https://github.com/NerdyPepper/dijo";
18+ license = licenses.mit;
19+ maintainers = with maintainers; [ infinisil ];
20+ platforms = platforms.all;