aboutsummaryrefslogtreecommitdiff
path: root/app/email/build/sogo-next/default.nix
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2021-09-30 18:12:39 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2021-09-30 18:12:39 +0200
commit7b2b42ec64e063ecc165b4edbf533c39800f1def (patch)
treea29e1846ce548db600438cac9e63ab5fb35daa1b /app/email/build/sogo-next/default.nix
parent59945e228e8b0481b0d446c9256b0292cce2a190 (diff)
downloadinfrastructure-7b2b42ec64e063ecc165b4edbf533c39800f1def.tar.gz
infrastructure-7b2b42ec64e063ecc165b4edbf533c39800f1def.zip
WIP packaging sogo with nixfeature/nix
Diffstat (limited to 'app/email/build/sogo-next/default.nix')
-rw-r--r--app/email/build/sogo-next/default.nix24
1 files changed, 22 insertions, 2 deletions
diff --git a/app/email/build/sogo-next/default.nix b/app/email/build/sogo-next/default.nix
index 103e2be..b0abace 100644
--- a/app/email/build/sogo-next/default.nix
+++ b/app/email/build/sogo-next/default.nix
@@ -1,7 +1,7 @@
{ pkgs ? import <nixpkgs> {}}:
rec {
- gnustep-make = pkgs.stdenv.mkDerivation rec {
+ gnustep-make = pkgs.llvmPackages.stdenv.mkDerivation rec {
pname = "gnustep-make";
version = "2.9.0";
@@ -16,11 +16,21 @@ rec {
];
};
- gnustep-base = pkgs.stdenv.mkDerivation rec {
+ gnustep-base = pkgs.llvmPackages.stdenv.mkDerivation rec {
pname = "gnustep-base";
version = "1.28.0";
+ /*configurePhase = "gcc -v; which cc1obj; false";*/
+
buildInputs = [
+ pkgs.pkg-config
+ pkgs.gnustep.libobjc
+ pkgs.libffi
+ pkgs.libbfd
+ pkgs.libxml2
+ pkgs.libxslt
+ pkgs.gnutls
+ pkgs.icu
gnustep-make
];
@@ -30,6 +40,16 @@ rec {
};
};
+ sope = pkgs.stdenv.mkDerivation rec {
+ pname = "sope";
+ version = "5.2.0";
+
+ src = pkgs.fetchurl {
+ url = "https://github.com/inverse-inc/sope/archive/refs/tags/SOPE-${version}.tar.gz";
+ sha256 = "e98050007cf3ff0a9d97578bcb3155c88b4ac9f69d94f95fe4c88bc5efff31c7";
+ };
+ };
+
sogo = pkgs.stdenv.mkDerivation rec {
pname = "sogo";
version = "5.2.0";