diff options
author | Alyssa Ross <hi@alyssa.is> | 2024-03-22 16:41:59 +0100 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2024-03-22 16:41:59 +0100 |
commit | 46a88117a05c3469af5d99433af140c3de8ca088 (patch) | |
tree | d7f0557756d8f07a3081b3498c05ddc5a8ad429d /nixpkgs/pkgs/by-name/sc/screenly-cli/package.nix | |
parent | e97457545cea0b2ca421da257c83d8f1ef451d85 (diff) | |
parent | a343533bccc62400e8a9560423486a3b6c11a23b (diff) | |
download | nixlib-46a88117a05c3469af5d99433af140c3de8ca088.tar nixlib-46a88117a05c3469af5d99433af140c3de8ca088.tar.gz nixlib-46a88117a05c3469af5d99433af140c3de8ca088.tar.bz2 nixlib-46a88117a05c3469af5d99433af140c3de8ca088.tar.lz nixlib-46a88117a05c3469af5d99433af140c3de8ca088.tar.xz nixlib-46a88117a05c3469af5d99433af140c3de8ca088.tar.zst nixlib-46a88117a05c3469af5d99433af140c3de8ca088.zip |
Merge commit 'a343533bccc62400e8a9560423486a3b6c11a23b'
Diffstat (limited to 'nixpkgs/pkgs/by-name/sc/screenly-cli/package.nix')
-rw-r--r-- | nixpkgs/pkgs/by-name/sc/screenly-cli/package.nix | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/nixpkgs/pkgs/by-name/sc/screenly-cli/package.nix b/nixpkgs/pkgs/by-name/sc/screenly-cli/package.nix index 4113e3c57f4c..3c18ef4f809c 100644 --- a/nixpkgs/pkgs/by-name/sc/screenly-cli/package.nix +++ b/nixpkgs/pkgs/by-name/sc/screenly-cli/package.nix @@ -1,5 +1,4 @@ { darwin -, fetchpatch , fetchFromGitHub , lib , perl @@ -7,31 +6,21 @@ , openssl , rustPlatform , stdenv +, nix-update-script }: 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 @@ -47,9 +36,12 @@ rustPlatform.buildRustPackage rec { darwin.apple_sdk.frameworks.SystemConfiguration ]; + passthru.updateScript = nix-update-script { }; + 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 ]; |