libdeltachat: init at 1.54.0
This commit is contained in:
parent
e20f991a11
commit
5d8f586b33
55
pkgs/development/libraries/libdeltachat/default.nix
Normal file
55
pkgs/development/libraries/libdeltachat/default.nix
Normal file
@ -0,0 +1,55 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, openssl
|
||||
, perl
|
||||
, pkg-config
|
||||
, rustPlatform
|
||||
, sqlite
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libdeltachat";
|
||||
version = "1.54.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "deltachat";
|
||||
repo = "deltachat-core-rust";
|
||||
rev = version;
|
||||
sha256 = "02hvsfv1yar8bdpkfrfiiicq9qqnfhp46v6qqph9ar6khz3f1kim";
|
||||
};
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||
inherit src;
|
||||
name = "${pname}-${version}";
|
||||
sha256 = "1p5yrhczp9nfijbvkmkmx1rabk5k3c1ni4k1vc0mw4jgl26lslcm";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
perl
|
||||
pkg-config
|
||||
] ++ (with rustPlatform; [
|
||||
cargoSetupHook
|
||||
rust.cargo
|
||||
]);
|
||||
|
||||
buildInputs = [
|
||||
openssl
|
||||
sqlite
|
||||
];
|
||||
|
||||
checkInputs = with rustPlatform; [
|
||||
cargoCheckHook
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Delta Chat Rust Core library";
|
||||
homepage = "https://github.com/deltachat/deltachat-core-rust/";
|
||||
changelog = "https://github.com/deltachat/deltachat-core-rust/blob/${version}/CHANGELOG.md";
|
||||
license = licenses.mpl20;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
@ -15458,6 +15458,8 @@ in
|
||||
|
||||
libdeflate = callPackage ../development/libraries/libdeflate { };
|
||||
|
||||
libdeltachat = callPackage ../development/libraries/libdeltachat { };
|
||||
|
||||
libdevil = callPackage ../development/libraries/libdevil {
|
||||
inherit (darwin.apple_sdk.frameworks) OpenGL;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user