nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, buildGoModule, fetchFromGitHub }:
2
3buildGoModule rec {
4 pname = "timew-sync-server";
5 version = "1.1.0";
6
7 src = fetchFromGitHub {
8 owner = "timewarrior-synchronize";
9 repo = pname;
10 rev = "v${version}";
11 sha256 = "GaDcnPJBcDJ3AQaHzifDgdl0QT4GSbAOIqp4RrAcO3M=";
12 };
13
14 vendorSha256 = "iROqiRWkHG6N6kivUmgmu6sg14JDdG4f98BdR7CL1gs=";
15
16 meta = with lib; {
17 homepage = "https://github.com/timewarrior-synchronize/timew-sync-server";
18 description = "Server component of timewarrior synchronization application";
19 license = licenses.mit;
20 maintainers = [ maintainers.joachimschmidt557 ];
21 platforms = platforms.linux;
22 };
23}