WIP packaging sogo with nix

This commit is contained in:
Quentin 2021-09-30 18:12:39 +02:00
parent 59945e228e
commit 7b2b42ec64
Signed by: quentin
GPG key ID: A98E9B769E4FF428

View file

@ -1,7 +1,7 @@
{ pkgs ? import <nixpkgs> {}}: { pkgs ? import <nixpkgs> {}}:
rec { rec {
gnustep-make = pkgs.stdenv.mkDerivation rec { gnustep-make = pkgs.llvmPackages.stdenv.mkDerivation rec {
pname = "gnustep-make"; pname = "gnustep-make";
version = "2.9.0"; 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"; pname = "gnustep-base";
version = "1.28.0"; version = "1.28.0";
/*configurePhase = "gcc -v; which cc1obj; false";*/
buildInputs = [ buildInputs = [
pkgs.pkg-config
pkgs.gnustep.libobjc
pkgs.libffi
pkgs.libbfd
pkgs.libxml2
pkgs.libxslt
pkgs.gnutls
pkgs.icu
gnustep-make 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 { sogo = pkgs.stdenv.mkDerivation rec {
pname = "sogo"; pname = "sogo";
version = "5.2.0"; version = "5.2.0";