Merge branch 'staging-next' into staging

This commit is contained in:
Jan Tojnar
2021-05-13 11:42:36 +02:00
36 changed files with 551 additions and 220 deletions
+2 -2
View File
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "abcMIDI";
version = "2021.05.09";
version = "2021.05.10";
src = fetchzip {
url = "https://ifdo.ca/~seymour/runabc/${pname}-${version}.zip";
sha256 = "sha256-LgtS7IOGkw0K70UAP2a57ghIiJujVnQO5+j4ZanPZp4=";
sha256 = "sha256-ID27OdtuSYtD8bOPb6b0vUDdRqJvRX5TsjRBILTom4o=";
};
meta = with lib; {
+4 -1
View File
@@ -13,7 +13,10 @@ stdenv.mkDerivation {
buildInputs = [ libsoundio lame ];
makeFlags = [ "PREFIX=$(out)" ];
makeFlags = [
"CC=${stdenv.cc.targetPrefix}cc"
"PREFIX=$(out)"
];
meta = with lib; {
description = "CLI tool to record audio-enabled screencasts of your terminal, for the web";
+6 -3
View File
@@ -1,5 +1,7 @@
{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, pkg-config, which, libxslt, libxml2, docbook_xml_dtd_412, docbook_xsl, glib, imagemagick, darwin }:
{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, pkg-config, which
, libxslt, libxml2, docbook_xml_dtd_412, docbook_xsl, glib, imagemagick
, Foundation
}:
stdenv.mkDerivation rec {
version = "1.6.0";
@@ -23,7 +25,8 @@ stdenv.mkDerivation rec {
docbook_xsl
];
buildInputs = [ glib imagemagick ] ++ lib.optional stdenv.isDarwin [ darwin.apple_sdk.frameworks.ApplicationServices ];
buildInputs = [ glib imagemagick ]
++ lib.optional stdenv.isDarwin Foundation;
patches = [ ./xmlcatalog_patch.patch ];
+35
View File
@@ -0,0 +1,35 @@
{ lib
, stdenv
, fetchFromGitLab
, pkg-config
, libusb1
}:
stdenv.mkDerivation rec {
pname = "minipro";
version = "0.5";
src = fetchFromGitLab {
owner = "DavidGriffith";
repo = "minipro";
rev = version;
sha256 = "sha256-Hyj2LyY7W8opjigH+QLHHbDyelC0LMgGgdN+u3nNoJc=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ libusb1 ];
makeFlags = [
"PREFIX=$(out)"
"UDEV_DIR=$(out)/lib/udev"
"COMPLETIONS_DIR=$(out)/share/bash-completion/completions"
"PKG_CONFIG=${pkg-config}/bin/${pkg-config.targetPrefix}pkg-config"
"CC=${stdenv.cc.targetPrefix}cc"
];
meta = with lib; {
homepage = "https://gitlab.com/DavidGriffith/minipro";
description = "An open source program for controlling the MiniPRO TL866xx series of chip programmers";
license = licenses.gpl3Plus;
maintainers = [ maintainers.bmwalters ];
};
}
@@ -0,0 +1,28 @@
{ lib, stdenv, fetchFromGitHub, cmake, gtest, openssl, zlib }:
stdenv.mkDerivation rec {
pname = "libtorrent-jesec";
version = "0.13.8-r1";
src = fetchFromGitHub {
owner = "jesec";
repo = "libtorrent";
rev = "v${version}";
sha256 = "sha256-Eh5pMkSe9uO0dPRWDg2BbbRxxuvX9FM2/OReq/61ojc=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ openssl zlib ];
# https://github.com/jesec/libtorrent/issues/1
doCheck = false;
checkInputs = [ gtest ];
meta = with lib; {
description = "A BitTorrent library written in C++ for *nix, with focus on high performance and good code (jesec's fork)";
homepage = "https://github.com/jesec/libtorrent";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ winterqt ];
platforms = platforms.linux;
};
}
@@ -0,0 +1,57 @@
{ lib
, stdenv
, fetchFromGitHub
, cmake
, gtest
, libtorrent-jesec
, curl
, ncurses
, xmlrpc_c
, nlohmann_json
, xmlRpcSupport ? true
, jsonRpcSupport ? true
}:
let
inherit (lib) optional;
in
stdenv.mkDerivation rec {
pname = "rtorrent-jesec";
version = "0.9.8-r13";
src = fetchFromGitHub {
owner = "jesec";
repo = "rtorrent";
rev = "v${version}";
sha256 = "1srn1ms7dvsn994zvb8i4m6gc144ygc7wc2a23bma79cqpl7drlw";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ libtorrent-jesec curl ncurses ]
++ optional xmlRpcSupport xmlrpc_c
++ optional jsonRpcSupport nlohmann_json;
cmakeFlags = [ "-DUSE_RUNTIME_CA_DETECTION=NO" ]
++ optional (!xmlRpcSupport) "-DUSE_XMLRPC=NO"
++ optional (!jsonRpcSupport) "-DUSE_JSONRPC=NO";
doCheck = true;
checkInputs = [ gtest ];
prePatch = ''
substituteInPlace src/main.cc \
--replace "/etc/rtorrent/rtorrent.rc" "${placeholder "out"}/etc/rtorrent/rtorrent.rc"
'';
postFixup = ''
mkdir -p $out/etc/rtorrent
cp $src/doc/rtorrent.rc $out/etc/rtorrent/rtorrent.rc
'';
meta = with lib; {
description = "An ncurses client for libtorrent, ideal for use with screen, tmux, or dtach (jesec's fork)";
homepage = "https://github.com/jesec/rtorrent";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ winterqt ];
platforms = platforms.linux;
};
}
+2 -4
View File
@@ -1,8 +1,7 @@
{ lib
, buildGoModule
, fetchFromGitHub
, python3Packages
, perl
, yuicompressor
, zopfli
, stdenv
}:
@@ -23,8 +22,7 @@ buildGoModule {
doCheck = false;
nativeBuildInputs = [
python3Packages.slimit
(perl.withPackages (p: [ p.CSSMinifier ]))
yuicompressor
zopfli
];
+47 -36
View File
@@ -1,64 +1,75 @@
{ lib, stdenv
{ lib
, stdenv
, fetchurl
, pkg-config
, gettext
, guile
, guile-reader
, guile-lib
, ploticus
, imagemagick
, ghostscript
, transfig
, enableEmacs ? false, emacs ? null
, enableLout ? true, lout ? null
, enableTex ? true, tex ? null
, guile
, guile-lib
, guile-reader
, imagemagick
, makeWrapper
, pkg-config
, ploticus
, transfig
, enableEmacs ? false, emacs
, enableLout ? true, lout
, enableTex ? true, tex
}:
let
inherit (lib) optional;
in stdenv.mkDerivation rec{
pname = "skribilo";
version = "0.9.5";
inherit (lib) optional;
in stdenv.mkDerivation {
inherit pname version;
src = fetchurl {
url = "http://download.savannah.nongnu.org/releases/skribilo/${pname}-${version}.tar.gz";
sha256 = "sha256-AIJqIcRjT7C0EO6J60gGjERdgAglh0ZU49U9XKPwvwk=";
};
nativeBuildInputs = [ pkg-config makeWrapper ];
buildInputs = [ gettext guile ploticus imagemagick ghostscript transfig ]
nativeBuildInputs = [
pkg-config
makeWrapper
];
buildInputs = [
gettext
ghostscript
guile
guile-lib
guile-reader
imagemagick
ploticus
transfig
]
++ optional enableEmacs emacs
++ optional enableLout lout
++ optional enableTex tex;
propagatedBuildInputs = [ guile-reader guile-lib ];
postInstall =
let
guileVersion = lib.versions.majorMinor guile.version;
in
''
wrapProgram $out/bin/skribilo \
--prefix GUILE_LOAD_PATH : "$out/share/guile/site/${guileVersion}:$GUILE_LOAD_PATH" \
--prefix GUILE_LOAD_COMPILED_PATH : "$out/lib/guile/${guileVersion}/site-ccache:$GUILE_LOAD_COMPILED_PATH"
'';
postInstall = ''
wrapProgram $out/bin/skribilo \
--prefix GUILE_LOAD_PATH : "$out/share/guile/site:${guile-lib}/share/guile/site:${guile-reader}/share/guile/site" \
--prefix GUILE_LOAD_COMPILED_PATH : "$out/share/guile/site:${guile-lib}/share/guile/site:${guile-reader}/share/guile/site"
'';
meta = with lib;{
meta = with lib; {
homepage = "https://www.nongnu.org/skribilo/";
description = "The Ultimate Document Programming Framework";
longDescription = ''
Skribilo is a free document production tool that takes a
structured document representation as its input and renders that
document in a variety of output formats: HTML and Info for
on-line browsing, and Lout and LaTeX for high-quality hard
copies.
Skribilo is a free document production tool that takes a structured
document representation as its input and renders that document in a
variety of output formats: HTML and Info for on-line browsing, and Lout
and LaTeX for high-quality hard copies.
The input document can use Skribilo's markup language to provide
information about the document's structure, which is similar to
HTML or LaTeX and does not require expertise. Alternatively, it
can use a simpler, "markup-less" format that borrows from Emacs'
outline mode and from other conventions used in emails, Usenet
and text.
information about the document's structure, which is similar to HTML or
LaTeX and does not require expertise. Alternatively, it can use a simpler,
"markup-less" format that borrows from Emacs' outline mode and from other
conventions used in emails, Usenet and text.
'';
homepage = "https://www.nongnu.org/skribilo/";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ AndersonTorres ];
platforms = platforms.unix;