Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{
2 lib,
3 fetchCrate,
4 rustPlatform,
5 pkg-config,
6 openssl,
7 nix-update-script,
8 testers,
9 talecast,
10}:
11
12rustPlatform.buildRustPackage rec {
13 pname = "talecast";
14 version = "0.1.39";
15
16 src = fetchCrate {
17 inherit pname version;
18 hash = "sha256-RwB+X+i3CEcTyKac81he9/cT2aQ4M7AqgqSDBEvhFJU=";
19 };
20
21 cargoHash = "sha256-mRoFg1UUPCKWiPxZg+8o2+2K6R+88RI/pdO8OLM4jFk=";
22
23 nativeBuildInputs = [ pkg-config ];
24
25 buildInputs = [
26 openssl
27 ];
28
29 passthru = {
30 updateScript = nix-update-script { };
31 tests.version = testers.testVersion { package = talecast; };
32 };
33
34 meta = {
35 description = "Simple CLI podcatcher";
36 homepage = "https://github.com/TBS1996/TaleCast";
37 license = lib.licenses.mit;
38 mainProgram = "talecast";
39 maintainers = with lib.maintainers; [
40 confusedalex
41 getchoo
42 ];
43 };
44}