Merge pull request #305706 from xrelkd/update/clipcat
clipcat: 0.16.6 -> 0.17.0
This commit is contained in:
commit
f672451260
|
@ -1,25 +1,34 @@
|
||||||
{ lib
|
{ lib
|
||||||
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, protobuf
|
, protobuf
|
||||||
, installShellFiles
|
, installShellFiles
|
||||||
|
, darwin
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "clipcat";
|
pname = "clipcat";
|
||||||
version = "0.16.6";
|
version = "0.17.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "xrelkd";
|
owner = "xrelkd";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-FSgBTQGl8LSLdv+SOAgQWLWiqFY+PRQBFYYdbmCttcY=";
|
hash = "sha256-e95h8YBVLcy9vubdJpfmeystT2Qw0Y8kap9IbTJW+s8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoHash = "sha256-TrzHmWUDAe4gbwm+VoTOuC50CWWnFsF99zscM85ammo=";
|
cargoHash = "sha256-+73vnGcdCDRMrav/Pi4Z37IlbArJ/SlYishz9KhF4x0=";
|
||||||
|
|
||||||
|
buildInputs = lib.optionals stdenv.isDarwin [
|
||||||
|
darwin.apple_sdk.frameworks.Cocoa
|
||||||
|
darwin.apple_sdk.frameworks.Security
|
||||||
|
darwin.apple_sdk.frameworks.SystemConfiguration
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
protobuf
|
protobuf
|
||||||
|
|
||||||
installShellFiles
|
installShellFiles
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -42,7 +51,7 @@ rustPlatform.buildRustPackage rec {
|
||||||
description = "Clipboard Manager written in Rust Programming Language";
|
description = "Clipboard Manager written in Rust Programming Language";
|
||||||
homepage = "https://github.com/xrelkd/clipcat";
|
homepage = "https://github.com/xrelkd/clipcat";
|
||||||
license = licenses.gpl3Only;
|
license = licenses.gpl3Only;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux ++ platforms.darwin;
|
||||||
maintainers = with maintainers; [ xrelkd ];
|
maintainers = with maintainers; [ xrelkd ];
|
||||||
mainProgram = "clipcatd";
|
mainProgram = "clipcatd";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user