diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2021-09-30 15:23:00 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2021-09-30 15:23:00 +0200 |
commit | 59945e228e8b0481b0d446c9256b0292cce2a190 (patch) | |
tree | 5ea63b397f5455df60d20b5f528c7876ba698a6a | |
parent | 6d4be5fb833f19d4ecf5e7d6d7fd6ceb5e63c3be (diff) | |
download | infrastructure-59945e228e8b0481b0d446c9256b0292cce2a190.tar.gz infrastructure-59945e228e8b0481b0d446c9256b0292cce2a190.zip |
WIP sogo nix
-rw-r--r-- | app/email/build/sogo-next/README.md | 1 | ||||
-rw-r--r-- | app/email/build/sogo-next/default.nix | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/app/email/build/sogo-next/README.md b/app/email/build/sogo-next/README.md new file mode 100644 index 0000000..99eb9e4 --- /dev/null +++ b/app/email/build/sogo-next/README.md @@ -0,0 +1 @@ +Build with `nix-build` diff --git a/app/email/build/sogo-next/default.nix b/app/email/build/sogo-next/default.nix new file mode 100644 index 0000000..103e2be --- /dev/null +++ b/app/email/build/sogo-next/default.nix @@ -0,0 +1,46 @@ +{ pkgs ? import <nixpkgs> {}}: + +rec { + gnustep-make = pkgs.stdenv.mkDerivation rec { + pname = "gnustep-make"; + version = "2.9.0"; + + src = pkgs.fetchurl { + url = "ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-make-${version}.tar.gz"; + sha256 = "a0b066c11257879c7c85311dea69c67f6dc741ef339db6514f85b64992c40d2a"; + }; + + buildInputs = [ + pkgs.gzip + pkgs.which + ]; + }; + + gnustep-base = pkgs.stdenv.mkDerivation rec { + pname = "gnustep-base"; + version = "1.28.0"; + + buildInputs = [ + gnustep-make + ]; + + src = pkgs.fetchurl { + url = "ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-base-${version}.tar.gz"; + sha256 = "c7d7c6e64ac5f5d0a4d5c4369170fc24ed503209e91935eb0e2979d1601039ed"; + }; + }; + + sogo = pkgs.stdenv.mkDerivation rec { + pname = "sogo"; + version = "5.2.0"; + + buildInputs = [ + gnustep-base + ]; + + src = pkgs.fetchurl { + url = "https://github.com/inverse-inc/sogo/archive/refs/tags/SOGo-${version}.tar.gz"; + sha256 = "0ed288444e625ecdc54543991c6855b5e296a6d2d5d8348169e68447f238bc7e"; + }; + }; +} |