Compare commits

...
This repository has been archived on 2023-03-15. You can view files and clone it, but cannot push or open issues or pull requests.

2 commits

Author SHA1 Message Date
7b2b42ec64
WIP packaging sogo with nix 2021-09-30 18:12:39 +02:00
59945e228e
WIP sogo nix 2021-09-30 15:23:00 +02:00
2 changed files with 67 additions and 0 deletions

View file

@ -0,0 +1 @@
Build with `nix-build`

View file

@ -0,0 +1,66 @@
{ pkgs ? import <nixpkgs> {}}:
rec {
gnustep-make = pkgs.llvmPackages.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.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
];
src = pkgs.fetchurl {
url = "ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-base-${version}.tar.gz";
sha256 = "c7d7c6e64ac5f5d0a4d5c4369170fc24ed503209e91935eb0e2979d1601039ed";
};
};
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";
buildInputs = [
gnustep-base
];
src = pkgs.fetchurl {
url = "https://github.com/inverse-inc/sogo/archive/refs/tags/SOGo-${version}.tar.gz";
sha256 = "0ed288444e625ecdc54543991c6855b5e296a6d2d5d8348169e68447f238bc7e";
};
};
}