evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / sc / screenly-cli / package.nix
blobb93266bbdc253c98fb19464cf06b0cd7ecfa0c0c
2   darwin,
3   fetchFromGitHub,
4   lib,
5   perl,
6   pkg-config,
7   openssl,
8   rustPlatform,
9   stdenv,
10   nix-update-script,
13 rustPlatform.buildRustPackage rec {
14   pname = "screenly-cli";
15   version = "1.0.1";
17   src = fetchFromGitHub {
18     owner = "screenly";
19     repo = "cli";
20     rev = "refs/tags/v${version}";
21     hash = "sha256-7Y9n6qo5kqaV8xHYn4BFbPBF/7mCV9DJJTSz4dqrgPc=";
22   };
24   cargoHash = "sha256-4fPC/BW2irA1iTKkxBhPOsxzS4uSfM3vOXhrx/7qRxg=";
26   nativeBuildInputs = [
27     pkg-config
28     perl
29   ];
31   buildInputs =
32     [ openssl ]
33     ++ lib.optionals stdenv.hostPlatform.isDarwin [
34       darwin.apple_sdk.frameworks.CoreFoundation
35       darwin.apple_sdk.frameworks.CoreServices
36       darwin.apple_sdk.frameworks.Security
37       darwin.apple_sdk.frameworks.SystemConfiguration
38     ];
40   passthru.updateScript = nix-update-script { };
42   meta = {
43     description = "Tools for managing digital signs and screens at scale";
44     homepage = "https://github.com/Screenly/cli";
45     changelog = "https://github.com/Screenly/cli/releases/tag/v${version}";
46     license = lib.licenses.mit;
47     mainProgram = "screenly";
48     maintainers = with lib.maintainers; [
49       jnsgruk
50       vpetersson
51     ];
52   };