Skip to content
This repository was archived by the owner on Dec 30, 2025. It is now read-only.

Commit 6df2055

Browse files
committed
init: basic flake
1 parent 9271e53 commit 6df2055

File tree

3 files changed

+59
-0
lines changed

3 files changed

+59
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
result

flake.lock

Lines changed: 27 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
description = "Build clockify-cli using flakes";
3+
4+
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05";
5+
6+
outputs = { self, nixpkgs }: {
7+
packages.x86_64-linux.default = let
8+
pkgs = import nixpkgs { system = "x86_64-linux"; };
9+
in pkgs.buildGoModule {
10+
pname = "clockify-cli";
11+
version = "v0.55.2";
12+
13+
src = pkgs.fetchFromGitHub {
14+
owner = "lucassabreu";
15+
repo = "clockify-cli";
16+
rev = "v0.55.2";
17+
hash = "sha256:18jg8vf9r02dqh7h2slrmmiqcs6maqypk28sf98xwz25pg5nisqg";
18+
19+
};
20+
21+
vendorHash = "sha256-L8jT328TEGbpVq5OwuQrSQdCU24Sb/dwvaty86l8n9Q=";
22+
23+
24+
25+
doCheck = false;
26+
};
27+
28+
defaultPackage.x86_64-linux = self.packages.x86_64-linux.default;
29+
};
30+
}
31+

0 commit comments

Comments
 (0)