mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 06:14:26 +03:00
Add sup expression
This commit is contained in:
parent
dbcfef8c41
commit
4fe22e28cb
45
pkgs/applications/networking/mailreaders/sup/default.nix
Normal file
45
pkgs/applications/networking/mailreaders/sup/default.nix
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
{ stdenv, fetchurl, ncurses, ruby, rake, rubygems, makeWrapper }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "sup-d21f027afcd6a4031de9619acd8dacbd2f2f4fd4";
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = http://supmua.org;
|
||||||
|
description = "A curses threads-with-tags style email client";
|
||||||
|
maintainers = with stdenv.lib.maintainers; [ lovek323 ];
|
||||||
|
license = stdenv.lib.licenses.gpl2;
|
||||||
|
platforms = stdenv.lib.platforms.unix;
|
||||||
|
};
|
||||||
|
|
||||||
|
dontStrip = true;
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://github.com/sup-heliotrope/sup/archive/d21f027afcd6a4031de9619acd8dacbd2f2f4fd4.tar.gz";
|
||||||
|
sha256 = "0syifva6pqrg3nyy7xx7nan9zswb4ls6bkk96vi9ki2ly1ymwcdp";
|
||||||
|
};
|
||||||
|
|
||||||
|
configurePhase = "";
|
||||||
|
|
||||||
|
buildInputs = [ ncurses ruby rake rubygems makeWrapper ];
|
||||||
|
|
||||||
|
buildPhase = "rake gem";
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
export HOME=$TMP/home; mkdir -pv "$HOME"
|
||||||
|
gem install --no-verbose --install-dir "$out/${ruby.gemPath}" \
|
||||||
|
--bindir "$out/bin" --no-rdoc --no-ri pkg/sup-999.gem
|
||||||
|
gem install --no-verbose --install-dir "$out/${ruby.gemPath}" \
|
||||||
|
--bindir "$out/bin" --no-rdoc --no-ri gpgme --version 1.0.8
|
||||||
|
|
||||||
|
addToSearchPath GEM_PATH $out/${ruby.gemPath}
|
||||||
|
|
||||||
|
for prog in $out/bin/*; do
|
||||||
|
wrapProgram "$prog" --prefix GEM_PATH : "$GEM_PATH"
|
||||||
|
done
|
||||||
|
|
||||||
|
for prog in $out/gems/*/bin/*; do
|
||||||
|
[[ -e "$out/bin/$(basename $prog)" ]]
|
||||||
|
done
|
||||||
|
'';
|
||||||
|
}
|
||||||
|
|
@ -22,6 +22,7 @@
|
|||||||
goibhniu = "Cillian de Róiste <cillian.deroiste@gmail.com>";
|
goibhniu = "Cillian de Róiste <cillian.deroiste@gmail.com>";
|
||||||
guibert = "David Guibert <david.guibert@gmail.com>";
|
guibert = "David Guibert <david.guibert@gmail.com>";
|
||||||
iElectric = "Domen Kozar <domen@dev.si>";
|
iElectric = "Domen Kozar <domen@dev.si>";
|
||||||
|
lovek323 = "Jason O'Conal <jason@oconal.id.au>";
|
||||||
jcumming = "Jack Cummings <jack@mudshark.org>";
|
jcumming = "Jack Cummings <jack@mudshark.org>";
|
||||||
kkallio = "Karn Kallio <tierpluspluslists@gmail.com>";
|
kkallio = "Karn Kallio <tierpluspluslists@gmail.com>";
|
||||||
ludo = "Ludovic Courtès <ludo@gnu.org>";
|
ludo = "Ludovic Courtès <ludo@gnu.org>";
|
||||||
|
@ -7772,6 +7772,11 @@ let
|
|||||||
|
|
||||||
mutt = callPackage ../applications/networking/mailreaders/mutt { };
|
mutt = callPackage ../applications/networking/mailreaders/mutt { };
|
||||||
|
|
||||||
|
sup = callPackage ../applications/networking/mailreaders/sup {
|
||||||
|
rake = rubyLibs.rake_10_0_4;
|
||||||
|
ruby = ruby19;
|
||||||
|
};
|
||||||
|
|
||||||
msmtp = callPackage ../applications/networking/msmtp { };
|
msmtp = callPackage ../applications/networking/msmtp { };
|
||||||
|
|
||||||
imapfilter = callPackage ../applications/networking/mailreaders/imapfilter.nix {
|
imapfilter = callPackage ../applications/networking/mailreaders/imapfilter.nix {
|
||||||
|
Loading…
Reference in New Issue
Block a user