mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-10 06:55:10 +00:00
f6751bc435
clean restart & squash for https://github.com/NixOS/nixpkgs/pull/236516
35 lines
892 B
Nix
35 lines
892 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
openssl,
|
|
pkg-config,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "task-keeper";
|
|
version = "0.27.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "linux-china";
|
|
repo = "task-keeper";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-lcwWl1ycMSmHgYT4m+CofwefqnjxjvuJkcv1Pe0OtEo=";
|
|
};
|
|
|
|
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;
|
|
|
|
meta = {
|
|
homepage = "https://github.com/linux-china/task-keeper";
|
|
description = "CLI to manage tasks from different task runners or package managers";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ tennox ];
|
|
mainProgram = "tk";
|
|
};
|
|
}
|