python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / misc / dijo / default.nix
blob606bba0dff926bd1b9e3aeca6c366c09ad4b2c48
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.isDarwin CoreServices;
7   src = fetchFromGitHub {
8     owner = "NerdyPepper";
9     repo = "dijo";
10     rev = "v${version}";
11     sha256 = "sha256-g+A8BJxqoAvm9LTLrLnClVGtFJCQ2gT0mDGAov/6vXE=";
12   };
13   cargoSha256 = "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 = with maintainers; [ infinisil ];
20   };