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

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

48 lines
871 B
Nix
Raw Normal View History

2021-04-07 08:07:31 +00:00
{ lib
, fetchFromGitHub
, rustPlatform
, pkg-config
, openssl
, dbus
, sqlite
, file
, makeWrapper
}:
rustPlatform.buildRustPackage rec {
pname = "krankerl";
2022-12-20 11:15:34 +00:00
version = "0.14.0";
2021-04-07 08:07:31 +00:00
src = fetchFromGitHub {
owner = "ChristophWurst";
repo = "krankerl";
rev = "v${version}";
2022-12-20 11:15:34 +00:00
sha256 = "sha256-fFtjQFkNB5vn9nlFJI6nRdqxB9PmOGl3ySZ5LG2tgPg=";
2021-04-07 08:07:31 +00:00
};
2022-12-20 11:15:34 +00:00
cargoSha256 = "sha256-0V2ftZmuKXRhOFWCroYOxQqW3NFh9Uuwcg0CM1sFlcQ=";
2021-04-07 08:07:31 +00:00
nativeBuildInputs = [
pkg-config
makeWrapper
];
buildInputs = [
openssl
dbus
sqlite
];
nativeCheckInputs = [
2021-04-07 08:07:31 +00:00
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 ];
};
}