diff --git a/pkgs/by-name/ta/task-keeper/package.nix b/pkgs/by-name/ta/task-keeper/package.nix index c2097110284f9..a580bbdc7663b 100644 --- a/pkgs/by-name/ta/task-keeper/package.nix +++ b/pkgs/by-name/ta/task-keeper/package.nix @@ -1,21 +1,24 @@ -{ - lib, - rustPlatform, - fetchFromGitHub, +{ lib +, rustPlatform +, fetchFromGitHub +, openssl +, pkg-config }: -rustPlatform.buildRustPackage { +rustPlatform.buildRustPackage rec { pname = "task-keeper"; - version = "0.25.0"; + version = "0.27.0"; src = fetchFromGitHub { owner = "linux-china"; repo = "task-keeper"; - rev = "8b6d5432289dcb90f21b5d2a5d0a0338aa4c95b1"; - hash = "sha256-l/sqYuFrSDJN4Y9NN2fpkEI7AWctezLRi/pNAkPmHRk="; + rev = "refs/tags/v${version}"; + hash = "sha256-lcwWl1ycMSmHgYT4m+CofwefqnjxjvuJkcv1Pe0OtEo="; }; - cargoHash = "sha256-Dzua9gp8xMcpL8JMvQbLCjE171rxQSKK/mmD58C3DMc="; + nativeBuildInputs = [ pkg-config ]; + buildInputs = [ openssl ]; + cargoHash = "sha256-OVDwaMpA2gw0asdQ+yNRKmcmXLs+ddJI/lodewXujro="; # tests depend on many packages (java, node, python, sbt, ...) - which I'm not currently willing to set up 😅 doCheck = false;