nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 rustPlatform,
4 fetchFromGitea,
5}:
6
7rustPlatform.buildRustPackage rec {
8 pname = "sanctity";
9 version = "1.3.1";
10
11 src = fetchFromGitea {
12 domain = "codeberg.org";
13 owner = "annaaurora";
14 repo = "sanctity";
15 rev = "v${version}";
16 hash = "sha256-y6xj4A5SHcW747aFE9TfuurNnuUxjTUeKJmzxeiWqVc=";
17 };
18
19 cargoHash = "sha256-r+0Qd88slA4ke90U1urVjdoiXwGWv42AViUpRCTucxs=";
20
21 meta = with lib; {
22 description = "Test the 16 terminal colors in all combinations";
23 homepage = "https://codeberg.org/annaaurora/sanctity";
24 license = licenses.lgpl3Only;
25 maintainers = with maintainers; [ annaaurora ];
26 mainProgram = "sanctity";
27 };
28}