nixpkgs/pkgs/development/tools/krankerl/default.nix

50 lines
881 B
Nix
Raw Normal View History

2021-04-07 10:07:31 +02:00
{ lib
, fetchFromGitHub
, rustPlatform
, pkg-config
, openssl
, dbus
, sqlite
, file
, gzip
, makeWrapper
}:
rustPlatform.buildRustPackage rec {
pname = "krankerl";
2021-08-25 09:05:54 +02:00
version = "0.13.2";
2021-04-07 10:07:31 +02:00
src = fetchFromGitHub {
owner = "ChristophWurst";
repo = "krankerl";
rev = "v${version}";
2021-08-25 09:05:54 +02:00
sha256 = "sha256-Kol39AtM5m6FC+s5SDbQhWuASkGbeXPlmSGb7axEuK8=";
2021-04-07 10:07:31 +02:00
};
2021-08-25 09:05:54 +02:00
cargoSha256 = "sha256-bPcKe3vE3VIjLJ4iYdF3Gt0sID09gRpxG5TpTGWhnPs=";
2021-04-07 10:07:31 +02:00
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 ];
};
}