diff options
author | Mx Kookie <kookie@spacekookie.de> | 2020-10-31 19:35:09 +0100 |
---|---|---|
committer | Mx Kookie <kookie@spacekookie.de> | 2020-10-31 19:35:09 +0100 |
commit | c4625b175f8200f643fd6e11010932ea44c78433 (patch) | |
tree | bce3f89888c8ac3991fa5569a878a9eab6801ccc /infra/libkookie/nixpkgs/pkgs/tools/networking/mailsend | |
parent | 49f735974dd103039ddc4cb576bb76555164a9e7 (diff) | |
parent | d661aa56a8843e991261510c1bb28fdc2f6975ae (diff) |
Add 'infra/libkookie/' from commit 'd661aa56a8843e991261510c1bb28fdc2f6975ae'
git-subtree-dir: infra/libkookie
git-subtree-mainline: 49f735974dd103039ddc4cb576bb76555164a9e7
git-subtree-split: d661aa56a8843e991261510c1bb28fdc2f6975ae
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/tools/networking/mailsend')
-rw-r--r-- | infra/libkookie/nixpkgs/pkgs/tools/networking/mailsend/default.nix | 41 | ||||
-rw-r--r-- | infra/libkookie/nixpkgs/pkgs/tools/networking/mailsend/default.upstream | 3 |
2 files changed, 44 insertions, 0 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/tools/networking/mailsend/default.nix b/infra/libkookie/nixpkgs/pkgs/tools/networking/mailsend/default.nix new file mode 100644 index 000000000000..6b9a0caacb92 --- /dev/null +++ b/infra/libkookie/nixpkgs/pkgs/tools/networking/mailsend/default.nix @@ -0,0 +1,41 @@ +{stdenv, fetchurl, openssl}: +let + s = # Generated upstream information + rec { + baseName="mailsend"; + version="1.19"; + name="${baseName}-${version}"; + hash="1xwk6jvl5li8ddlik1lj88qswnyminp9wlf5cm8gg3n54szgcpjn"; + url="https://github.com/muquit/mailsend/archive/1.19.tar.gz"; + sha256="1xwk6jvl5li8ddlik1lj88qswnyminp9wlf5cm8gg3n54szgcpjn"; + }; + buildInputs = [ + openssl + ]; +in +stdenv.mkDerivation { + inherit (s) name version; + inherit buildInputs; + src = fetchurl { + inherit (s) url sha256; + }; + configureFlags = [ + "--with-openssl=${openssl.dev}" + ]; + + patches = [ + (fetchurl { + url = "https://github.com/muquit/mailsend/commit/960df6d7a11eef90128dc2ae660866b27f0e4336.patch"; + sha256 = "0vz373zcfl19inflybfjwshcq06rvhx0i5g0f4b021cxfhyb1sm0"; + }) + ]; + meta = { + inherit (s) version; + description = ''CLI email sending tool''; + license = stdenv.lib.licenses.bsd3 ; + maintainers = [stdenv.lib.maintainers.raskin]; + platforms = stdenv.lib.platforms.linux; + homepage = "https://github.com/muquit/mailsend"; + downloadPage = "https://github.com/muquit/mailsend/releases"; + }; +} diff --git a/infra/libkookie/nixpkgs/pkgs/tools/networking/mailsend/default.upstream b/infra/libkookie/nixpkgs/pkgs/tools/networking/mailsend/default.upstream new file mode 100644 index 000000000000..3d9862a3de21 --- /dev/null +++ b/infra/libkookie/nixpkgs/pkgs/tools/networking/mailsend/default.upstream @@ -0,0 +1,3 @@ +url "https://github.com/muquit/mailsend/releases" +ensure_choice +version '.*/([0-9][0-9.a-z]*)[.]tar[.].*' '\1' |