Merge pull request #334390 from jnsgruk/screenly-0.2.8
screenly-cli: 0.2.7 -> 0.2.8
This commit is contained in:
commit
ab2ff58911
@ -1,40 +1,41 @@
|
||||
{ darwin
|
||||
, fetchFromGitHub
|
||||
, lib
|
||||
, perl
|
||||
, pkg-config
|
||||
, openssl
|
||||
, rustPlatform
|
||||
, stdenv
|
||||
, nix-update-script
|
||||
{
|
||||
darwin,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
perl,
|
||||
pkg-config,
|
||||
openssl,
|
||||
rustPlatform,
|
||||
stdenv,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "screenly-cli";
|
||||
version = "0.2.7";
|
||||
version = "0.2.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "screenly";
|
||||
repo = "cli";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-ls8QnOfWRBAkW3q7eFKyoxvHlcI6j/zwIZNn8SMNzy8=";
|
||||
hash = "sha256-WAdQWOrrC85DBgkZ0bU91TJgYOTdxNukis5DJngHI1s=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-rRH9bmsVylGZqMy7qIZlOk4kWBzj7uCruj30/z1nqEE=";
|
||||
cargoHash = "sha256-fGUwMDSs5jJsAZmeHwYghXuOZFWHG6/NClhV0YcPQVg=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
perl
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
openssl
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.CoreFoundation
|
||||
darwin.apple_sdk.frameworks.CoreServices
|
||||
darwin.apple_sdk.frameworks.Security
|
||||
darwin.apple_sdk.frameworks.SystemConfiguration
|
||||
];
|
||||
buildInputs =
|
||||
[ openssl ]
|
||||
++ lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.CoreFoundation
|
||||
darwin.apple_sdk.frameworks.CoreServices
|
||||
darwin.apple_sdk.frameworks.Security
|
||||
darwin.apple_sdk.frameworks.SystemConfiguration
|
||||
];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
@ -44,6 +45,9 @@ rustPlatform.buildRustPackage rec {
|
||||
changelog = "https://github.com/Screenly/cli/releases/tag/v${version}";
|
||||
license = lib.licenses.mit;
|
||||
mainProgram = "screenly";
|
||||
maintainers = with lib.maintainers; [ jnsgruk vpetersson ];
|
||||
maintainers = with lib.maintainers; [
|
||||
jnsgruk
|
||||
vpetersson
|
||||
];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user