mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 23:54:01 +00:00
48 lines
865 B
Nix
48 lines
865 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, rustPlatform
|
|
, pkg-config
|
|
, openssl
|
|
, dbus
|
|
, sqlite
|
|
, file
|
|
, makeWrapper
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "krankerl";
|
|
version = "0.13.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ChristophWurst";
|
|
repo = "krankerl";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-/zRO+CVYQgx9/j14zgNm/ABzLprt0OYne+O6hOEjSEw=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-LWQRFgDxl2yxP+v1TUENaTGrA/udh84AJvWIkfTJezM=";
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
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 ];
|
|
};
|
|
}
|