fork
Configure Feed
Select the types of activity you want to include in your feed.
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{
2 lib,
3 fetchFromSourcehut,
4 rustPlatform,
5 pkg-config,
6 wrapGAppsHook3,
7 openssl,
8 gtk3,
9 gdk-pixbuf,
10 pango,
11 atk,
12 cairo,
13}:
14
15rustPlatform.buildRustPackage rec {
16 pname = "castor";
17 version = "0.9.0";
18
19 src = fetchFromSourcehut {
20 owner = "~julienxx";
21 repo = "castor";
22 rev = version;
23 sha256 = "sha256-yYLDbxmUR86fdpbHQQTiHVUbicnOD75cl3Vhofw5qr0=";
24 };
25
26 cargoHash = "sha256-6X3qZZ1iKXYtl59aGAnd4RzY/kBI4Q8zmX+JYMlKwJU=";
27
28 nativeBuildInputs = [
29 pkg-config
30 wrapGAppsHook3
31 ];
32
33 buildInputs = [
34 openssl
35 gtk3
36 gdk-pixbuf
37 pango
38 atk
39 cairo
40 ];
41
42 postInstall = "make PREFIX=$out copy-data";
43
44 useNextest = true;
45
46 meta = {
47 description = "Graphical client for plain-text protocols written in Rust with GTK. It currently supports the Gemini, Gopher and Finger protocols";
48 mainProgram = "castor";
49 homepage = "https://sr.ht/~julienxx/Castor";
50 license = lib.licenses.mit;
51 maintainers = with lib.maintainers; [ fgaz ];
52 };
53}