nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 rustPlatform,
4 fetchFromGitHub,
5}:
6rustPlatform.buildRustPackage (finalAttrs: {
7 pname = "flow_state";
8 version = "1.0.3";
9
10 src = fetchFromGitHub {
11 owner = "Stan-breaks";
12 repo = "flow_state";
13 tag = "v${finalAttrs.version}";
14 hash = "sha256-7j8W370lr/QaLL+T7N/2SlcrPe+dTW5zlNPL7+U/Vog=";
15 };
16
17 cargoHash = "sha256-IY4Kd43zLIGRjQbkeZddl6ayRv997HuSKV1DKI8Z6BY=";
18
19 meta = {
20 description = "Terminal-based habit tracker designed for neurodivergent users";
21 mainProgram = "flow_state";
22 homepage = "https://github.com/Stan-breaks/flow_state";
23 license = lib.licenses.gpl3Plus;
24 maintainers = with lib.maintainers; [
25 overloader
26 ];
27 };
28})