Merge branch 'master' into staging-next
- Thunderbird 68 has been dropped on master. - gccCrossLibcStdenv has been factored out on staging-next in all-packages.nix, while the file has been re-formatted on master.
This commit is contained in:
@@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "bowtie2";
|
||||
version = "2.4.2";
|
||||
version = "2.4.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "BenLangmead";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "11apzq7l1lk3yxw97g9dfr0gwnvfh58x6apifcblgd66gbip3y1y";
|
||||
sha256 = "sha256-uEKTB8935YY6lpXv2tJBQ1hrRk63vALLQb6SUXsVyhQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ mkDerivation, lib, fetchurl, pkg-config, cmake, glib, boost, libsigrok
|
||||
{ mkDerivation, lib, fetchurl, fetchpatch, pkg-config, cmake, glib, boost, libsigrok
|
||||
, libsigrokdecode, libserialport, libzip, udev, libusb1, libftdi1, glibmm
|
||||
, pcre, librevisa, python3, qtbase, qtsvg
|
||||
}:
|
||||
@@ -20,6 +20,15 @@ mkDerivation rec {
|
||||
qtbase qtsvg
|
||||
];
|
||||
|
||||
patches = [
|
||||
# Allow building with glib 2.68
|
||||
# PR at https://github.com/sigrokproject/pulseview/pull/39
|
||||
(fetchpatch {
|
||||
url = "https://github.com/sigrokproject/pulseview/commit/fb89dd11f2a4a08b73c498869789e38677181a8d.patch";
|
||||
sha256 = "07ifsis9jlc0jjp2d11f7hvw9kaxcbk0a57h2m4xsv1d7vzl9yfh";
|
||||
})
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Qt-based LA/scope/MSO GUI for sigrok (a signal analysis software suite)";
|
||||
homepage = "https://sigrok.org/";
|
||||
|
||||
@@ -1,26 +1,54 @@
|
||||
{ lib, stdenv, fetchurl, bison, flex, texinfo, readline, texLive }:
|
||||
{ lib, stdenv, fetchurl, bison, flex, makeWrapper, texinfo, readline, texLive }:
|
||||
|
||||
let
|
||||
name = "eukleides";
|
||||
lib.fix (eukleides: stdenv.mkDerivation rec {
|
||||
pname = "eukleides";
|
||||
version = "1.5.4";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
name = "${name}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.eukleides.org/files/${name}-${version}.tar.bz2";
|
||||
url = "http://www.eukleides.org/files/${pname}-${version}.tar.bz2";
|
||||
sha256 = "0s8cyh75hdj89v6kpm3z24i48yzpkr8qf0cwxbs9ijxj1i38ki0q";
|
||||
};
|
||||
|
||||
buildInputs = [bison flex texinfo readline texLive];
|
||||
nativeBuildInputs = [ bison flex texinfo makeWrapper ];
|
||||
|
||||
preConfigure = "sed -i 's/ginstall-info/install-info/g' doc/Makefile";
|
||||
installPhase = "mkdir -p $out/bin ; make PREFIX=$out install";
|
||||
buildInputs = [ readline texLive ];
|
||||
|
||||
preConfigure = ''
|
||||
substituteInPlace Makefile \
|
||||
--replace mktexlsr true
|
||||
|
||||
substituteInPlace doc/Makefile \
|
||||
--replace ginstall-info install-info
|
||||
|
||||
substituteInPlace Config \
|
||||
--replace '/usr/local' "$out" \
|
||||
--replace '$(SHARE_DIR)/texmf' "$tex"
|
||||
'';
|
||||
|
||||
preInstall = ''
|
||||
mkdir -p $out/bin
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/euktoeps \
|
||||
--set-default TEXINPUTS : \
|
||||
--prefix TEXINPUTS : "$tex/tex/latex/eukleides" \
|
||||
--prefix PATH : "${texLive}/bin"
|
||||
wrapProgram $out/bin/euktopdf \
|
||||
--set-default TEXINPUTS : \
|
||||
--prefix TEXINPUTS : "$tex/tex/latex/eukleides" \
|
||||
--prefix PATH : "${texLive}/bin"
|
||||
'';
|
||||
|
||||
outputs = [ "out" "doc" "tex" ];
|
||||
|
||||
passthru.tlType = "run";
|
||||
passthru.pkgs = [ eukleides.tex ];
|
||||
|
||||
meta = {
|
||||
description = "Geometry Drawing Language";
|
||||
homepage = "http://www.eukleides.org/";
|
||||
license = lib.licenses.gpl2;
|
||||
license = lib.licenses.gpl3Plus;
|
||||
|
||||
longDescription = ''
|
||||
Eukleides is a computer language devoted to elementary plane
|
||||
@@ -34,4 +62,4 @@ stdenv.mkDerivation {
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = [ lib.maintainers.peti ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user