nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 fetchFromGitHub,
3 lib,
4 perl,
5 pkg-config,
6 openssl,
7 rustPlatform,
8 nix-update-script,
9}:
10
11rustPlatform.buildRustPackage rec {
12 pname = "screenly-cli";
13 version = "1.1.0";
14
15 src = fetchFromGitHub {
16 owner = "screenly";
17 repo = "cli";
18 tag = "v${version}";
19 hash = "sha256-Icx0Nkn0ScbNTmXllkUj6DPhGqzh8HnIQPpej4ABJac=";
20 };
21
22 cargoHash = "sha256-XYXWbwuoPqL93R8Bre26kBPxkiXpJ0Dg06cBOyDK8ok=";
23
24 nativeBuildInputs = [
25 pkg-config
26 perl
27 ];
28
29 buildInputs = [ openssl ];
30
31 passthru.updateScript = nix-update-script { };
32
33 meta = {
34 description = "Tools for managing digital signs and screens at scale";
35 homepage = "https://github.com/Screenly/cli";
36 changelog = "https://github.com/Screenly/cli/releases/tag/v${version}";
37 license = lib.licenses.mit;
38 mainProgram = "screenly";
39 maintainers = with lib.maintainers; [
40 vpetersson
41 ];
42 };
43}