screenly-cli: 0.2.3 -> 0.2.4

This commit is contained in:
Jon Seager 2024-03-01 09:05:55 +00:00
parent 13a94ad1fb
commit 94a7ad6f8f
No known key found for this signature in database

View File

@ -1,5 +1,4 @@
{ darwin
, fetchpatch
, fetchFromGitHub
, lib
, perl
@ -11,27 +10,16 @@
rustPlatform.buildRustPackage rec {
pname = "screenly-cli";
version = "0.2.3";
version = "0.2.4";
src = fetchFromGitHub {
owner = "screenly";
repo = "cli";
rev = "refs/tags/v${version}";
hash = "sha256-rQK1EYb1xYtcxq0Oj4eY9PCFMoaYinr42W8NkG36ps0=";
hash = "sha256-DSeI7ddsdsb+DLVPRyqpvz6WIRFBBaWjYJHlFpN8SrY=";
};
cargoPatches = [
# This patch introduces the Cargo.lock file, which was previously missing from the repository.
# This can be removed at the next release of the Screenly CLI. The patch was introduced in
# this PR: https://github.com/Screenly/cli/pull/139.
(fetchpatch {
url = "https://github.com/Screenly/cli/commit/898bd2e5e3a9653e3c3dde17e951469885734c40.patch";
hash = "sha256-Cqc1PHRhgS3zK19bSqpU2v+R3jSlOY6oaLJXpUy6+50=";
includes = [ "Cargo.lock" ];
})
];
cargoHash = "sha256-TzJ56Wuk77qrxDLL17fYEj4i/YhAS6DRmjoqrzb+5AA=";
cargoHash = "sha256-W8xFOotHxFlBZhEUDRTJGsbr+GjG3ALynaoMgTxPPmM=";
nativeBuildInputs = [
pkg-config
@ -50,6 +38,7 @@ rustPlatform.buildRustPackage rec {
meta = {
description = "Tools for managing digital signs and screens at scale";
homepage = "https://github.com/Screenly/cli";
changelog = "https://github.com/Screenly/cli/releases/tag/v${version}";
license = lib.licenses.mit;
mainProgram = "screenly";
maintainers = with lib.maintainers; [ jnsgruk vpetersson ];