Merge pull request #231577 from figsoda/break-time

break-time: update Cargo.lock and unpin openssl
This commit is contained in:
Nick Cao 2023-05-13 13:39:34 +08:00 committed by GitHub
commit c3cfb4767c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1630 additions and 4 deletions

File diff suppressed because it is too large Load Diff

View File

@ -20,7 +20,9 @@ rustPlatform.buildRustPackage rec {
sha256 = "sha256-q79JXaBwd/oKtJPvK2+72pY2YvaR3of2CMC8cF6wwQ8=";
};
cargoSha256 = "sha256-DpX5tcIWt/pPGujufivmAGonVIiHERfa8Yb1JZpu3WA=";
cargoLock = {
lockFile = ./Cargo.lock;
};
nativeBuildInputs = [
pkg-config
@ -34,6 +36,11 @@ rustPlatform.buildRustPackage rec {
openssl
];
# update Cargo.lock to work with openssl
postPatch = ''
ln -sf ${./Cargo.lock} Cargo.lock
'';
meta = with lib; {
description = "Break timer that forces you to take a break";
homepage = "https://github.com/cdepillabout/break-time";

View File

@ -29351,9 +29351,7 @@ with pkgs;
brave = callPackage ../applications/networking/browsers/brave { };
break-time = callPackage ../applications/misc/break-time {
openssl = openssl_1_1;
};
break-time = callPackage ../applications/misc/break-time { };
breezy = with python3Packages; toPythonApplication breezy;