849ee4d900
GitOrigin-RevId: 9e377a6ce42dccd9b624ae4ce8f978dc892ba0e2
49 lines
890 B
Nix
49 lines
890 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, rustPlatform
|
|
, pkg-config
|
|
, openssl
|
|
, dbus
|
|
, sqlite
|
|
, file
|
|
, gzip
|
|
, makeWrapper
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "krankerl";
|
|
version = "0.13.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ChristophWurst";
|
|
repo = "krankerl";
|
|
rev = "v${version}";
|
|
sha256 = "1gp8b2m8kcz2f16zv9xwv4n1zki6imvz9z31kixh6amdj6fif3d1";
|
|
};
|
|
|
|
cargoSha256 = "sha256:01hcxs14wwhhvr08x816wa3jcm4zvm6g7vais793cgijipyv00rc";
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
gzip
|
|
makeWrapper
|
|
];
|
|
|
|
buildInputs = [
|
|
openssl
|
|
dbus
|
|
sqlite
|
|
];
|
|
|
|
checkInputs = [
|
|
file
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "A CLI helper to manage, package and publish Nextcloud apps";
|
|
homepage = "https://github.com/ChristophWurst/krankerl";
|
|
license = licenses.gpl3Only;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ onny ];
|
|
};
|
|
}
|