10 pname = "trdl-client";
13 src = fetchFromGitHub {
17 hash = "sha256-umeoiEq+Cp/cKpiNxCnMDghubm3LPFPJA18ChuYmIVo=";
20 sourceRoot = "${src.name}/client";
22 vendorHash = "sha256-f7FPeR+us3WvwqzcSQLbkKv905CCIAAm+HNV2FFF8OY=";
24 subPackages = [ "cmd/trdl" ];
31 "-X github.com/werf/trdl/client/pkg/trdl.Version=${src.rev}"
39 # There are no tests for cmd/trdl.
42 passthru.tests.version = testers.testVersion {
43 package = trdl-client;
44 command = "trdl version";
45 version = "v${version}";
50 The universal solution for delivering your software updates securely from
51 a trusted The Update Framework (TUF) repository
54 trdl is an Open Source solution providing a secure channel for delivering
55 updates from the Git repository to the end user.
57 The project team releases new versions of the software and switches them
58 in the release channels. Git acts as the single source of truth while
59 Vault is used as a tool to verify operations as well as populate and
60 maintain the TUF repository.
62 The user selects a release channel, continuously receives the latest
63 software version from the TUF repository, and uses it.
65 homepage = "https://trdl.dev";
66 changelog = "https://github.com/werf/trdl/releases/tag/${src.rev}";
67 license = licenses.asl20;
68 maintainers = with maintainers; [ azahi ];