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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

49 lines
901 B
Nix
Raw Normal View History

2021-04-07 11:07:31 +03:00
{ lib
, fetchFromGitHub
, rustPlatform
, pkg-config
, openssl
, dbus
, sqlite
, file
, makeWrapper
}:
rustPlatform.buildRustPackage rec {
pname = "krankerl";
2022-12-20 14:15:34 +03:00
version = "0.14.0";
2021-04-07 11:07:31 +03:00
src = fetchFromGitHub {
owner = "ChristophWurst";
repo = "krankerl";
rev = "v${version}";
2022-12-20 14:15:34 +03:00
sha256 = "sha256-fFtjQFkNB5vn9nlFJI6nRdqxB9PmOGl3ySZ5LG2tgPg=";
2021-04-07 11:07:31 +03:00
};
2022-12-20 14:15:34 +03:00
cargoSha256 = "sha256-0V2ftZmuKXRhOFWCroYOxQqW3NFh9Uuwcg0CM1sFlcQ=";
2021-04-07 11:07:31 +03:00
nativeBuildInputs = [
pkg-config
makeWrapper
];
buildInputs = [
openssl
dbus
sqlite
];
nativeCheckInputs = [
2021-04-07 11:07:31 +03:00
file
];
meta = with lib; {
description = "A CLI helper to manage, package and publish Nextcloud apps";
mainProgram = "krankerl";
2021-04-07 11:07:31 +03:00
homepage = "https://github.com/ChristophWurst/krankerl";
license = licenses.gpl3Only;
platforms = platforms.linux;
maintainers = with maintainers; [ onny ];
};
}