Merge remote-tracking branch 'upstream/master' into aj-rust-custom-target
This commit is contained in:
@@ -8,13 +8,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cgal";
|
||||
version = "5.0.3";
|
||||
version = "5.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "CGAL";
|
||||
repo = "releases";
|
||||
rev = "CGAL-${version}";
|
||||
sha256 = "1p22dwrzzvbmrfjr6m3dac55nq8pp0b9afp3vz6239yp3gf2fcws";
|
||||
sha256 = "0rcv86hn5aqna7vr9nfk4np778qjr7l3742v58w6qw0z4y6l1km0";
|
||||
};
|
||||
|
||||
# note: optional component libCGAL_ImageIO would need zlib and opengl;
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ace";
|
||||
version = "6.5.7";
|
||||
version = "6.5.10";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://download.dre.vanderbilt.edu/previous_versions/ACE-${version}.tar.bz2";
|
||||
sha256 = "0hvd7y3hs8r3r7qbllfaqrva3jrx5razcnwlws822k66v4r10cbx";
|
||||
sha256 = "1qnq63r9cnaaqb5yrbb7apr7kjl6x31wfclizplri3lj4rwl7plh";
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
@@ -14,6 +14,10 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ pkgconfig libtool ];
|
||||
buildInputs = [ perl ];
|
||||
|
||||
NIX_CFLAGS_COMPILE = [
|
||||
"-Wno-error=format-security"
|
||||
];
|
||||
|
||||
patchPhase = ''substituteInPlace ./MPC/prj_install.pl \
|
||||
--replace /usr/bin/perl "${perl}/bin/perl"'';
|
||||
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
{ lib, mkDerivation, fetchFromGitHub, standard-library }:
|
||||
|
||||
mkDerivation rec {
|
||||
version = "0.1.3.1";
|
||||
version = "0.1.4";
|
||||
pname = "agda-categories";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "agda";
|
||||
repo = "agda-categories";
|
||||
rev = "v${version}";
|
||||
sha256 = "08mc20qaz9vp5rhi60rh8wvjkg5aby3bgwwdhfnxha1663qf1q24";
|
||||
sha256 = "0n6y9xarqhj95i4h56klx10gy0fyckxbfwgiissfknpfq6l0m7r6";
|
||||
};
|
||||
|
||||
buildInputs = [ standard-library ];
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
{ fetchFromGitHub, lib, stdenv, mkDerivation, standard-library }:
|
||||
|
||||
mkDerivation rec {
|
||||
version = "0.1";
|
||||
pname = "functional-linear-algebra";
|
||||
|
||||
buildInputs = [ standard-library ];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = "functional-linear-algebra";
|
||||
owner = "ryanorendorff";
|
||||
rev = "v${version}";
|
||||
sha256 = "09ri3jmgp9jjwi1mzv4c3w6rvcmyx6spa2qxpwlcn0f4bmfva6wm";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/ryanorendorff/functional-linear-algebra";
|
||||
description = ''
|
||||
Formalizing linear algebra in Agda by representing matrices as functions
|
||||
from one vector space to another.
|
||||
'';
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ ryanorendorff ];
|
||||
};
|
||||
}
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "generic";
|
||||
version = "0.1";
|
||||
version = "0.1.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = "Generic";
|
||||
owner = "effectfully";
|
||||
rev = "v${version}";
|
||||
sha256 = "121121rg3daaqp91845fbyws6g28hyj1ywmh12n54r3nicb35g5q";
|
||||
sha256 = "07l44yzx1jly20kmkmkjk8q493bn6x7i3xxpz6mhadkqlxyhmc8s";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
@@ -17,7 +17,7 @@ mkDerivation rec {
|
||||
|
||||
preBuild = ''
|
||||
echo "module Everything where" > Everything.agda
|
||||
find src -name '*.agda' | sed -e 's/src\///;s/\//./g;s/\.agda$//;s/^/import /' >> Everything.agda
|
||||
find src -name '*.agda' | sed -e 's/src\///;s/\//./g;s/\.agda$//;s/^/import /' >> Everything.agda
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "standard-library";
|
||||
version = "1.3";
|
||||
version = "1.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = "agda-stdlib";
|
||||
owner = "agda";
|
||||
rev = "v${version}";
|
||||
sha256 = "18kl20z3bjfgx5m3nvrdj5776qmpi7jl2p12pqybsls2lf86m0d5";
|
||||
sha256 = "1asjbisb7pfkgzqy7gf9b23z63bba8l8p1wqfd6ff5ddgqwj3dhp";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ (ghcWithPackages (self : [ self.filemanip ])) ];
|
||||
|
||||
@@ -21,13 +21,13 @@ let
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "amdvlk";
|
||||
version = "2020.Q3.6";
|
||||
version = "2020.Q4.1";
|
||||
|
||||
src = fetchRepoProject {
|
||||
name = "${pname}-src";
|
||||
manifest = "https://github.com/GPUOpen-Drivers/AMDVLK.git";
|
||||
rev = "refs/tags/v-${version}";
|
||||
sha256 = "05bvxxgaz94y85g1sq0jzjxd4j8vgdfan04q2fzmfcw3h6p7syjy";
|
||||
sha256 = "UxUsXngsMbLNSmg0a7gqCqw30ckZ8IlDrSZMMnKHlh4=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "armadillo";
|
||||
version = "9.900.3";
|
||||
version = "10.1.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/arma/armadillo-${version}.tar.xz";
|
||||
sha256 = "02pwhf3y2qq50dswjvfcijaw938d1zi1hxr17msv2x1ahlvff5fn";
|
||||
sha256 = "15c3amyrk496v0s6r2pn8dw4v82f4ld347nbv5qdzd6injsg3qvj";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
@@ -7,25 +7,25 @@ let
|
||||
arrow-testing = fetchFromGitHub {
|
||||
owner = "apache";
|
||||
repo = "arrow-testing";
|
||||
rev = "f552c4dcd2ae3d14048abd20919748cce5276ade";
|
||||
sha256 = "1smaidk5k2q6xdav7qp74ak34vvwv5qyfqw0szi573awsrsrahr8";
|
||||
rev = "860376d4e586a3ac34ec93089889da624ead6c2a";
|
||||
sha256 = "16k3lz4ji4y3qcjhr765q14jwwlac8iqscwndwd8ll3zr0vy69b0";
|
||||
};
|
||||
|
||||
parquet-testing = fetchFromGitHub {
|
||||
owner = "apache";
|
||||
repo = "parquet-testing";
|
||||
rev = "bcd9ebcf9204a346df47204fe21b85c8d0498816";
|
||||
sha256 = "0m16pqzbvxiaradq088q5ai6fwnz9srbap996397znwppvva479b";
|
||||
rev = "d914f9d289488c7db1759d7a88a4a1b8f062c7dd";
|
||||
sha256 = "0xj3ynck2wv6l70xnmvs13bz1jycqjrl5k4lwhhwgag338048als";
|
||||
};
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "arrow-cpp";
|
||||
version = "1.0.1";
|
||||
version = "2.0.0";
|
||||
|
||||
src = fetchurl {
|
||||
url =
|
||||
"mirror://apache/arrow/arrow-${version}/apache-arrow-${version}.tar.gz";
|
||||
sha256 = "0p67dni8dwqbwq96gfdq3pyk799id6dgdl9h7cpp9icsjsmad70l";
|
||||
sha256 = "1ghzqw0rx4rxa2d7i76y3szisv0bd9cl7vzadbc41cvvhk6440xy";
|
||||
};
|
||||
sourceRoot = "apache-arrow-${version}/cpp";
|
||||
|
||||
@@ -43,26 +43,13 @@ in stdenv.mkDerivation rec {
|
||||
# ./cpp/cmake_modules/ThirdpartyToolchain.cmake
|
||||
# ./cpp/thirdparty/versions.txt
|
||||
url =
|
||||
"https://github.com/microsoft/mimalloc/archive/v1.6.3.tar.gz";
|
||||
sha256 = "0pia8b4acv1w8qzcpc9i1a2fasnn3rmp996k0l87p2di0lbls0w5";
|
||||
"https://github.com/microsoft/mimalloc/archive/v1.6.4.tar.gz";
|
||||
sha256 = "1b8av0974q70alcmaw5cwzbn6n9blnpmj721ik1qwmbbwwd6nqgs";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# patch to fix python-test
|
||||
./darwin.patch
|
||||
# Properly exported static targets. Remove at the next version bump.
|
||||
(fetchpatch {
|
||||
url = "https://github.com/apache/arrow/commit/b040600b39a4f803b704934252665f9440dd1276.patch";
|
||||
sha256 = "1mvw29ybcsz77zprmsk41blxmrj8ywayg7ghf6xkkf98907ws8m8";
|
||||
includes = [ "*.cmake" ];
|
||||
stripLen = 1;
|
||||
})
|
||||
(fetchpatch {
|
||||
url = "https://github.com/apache/arrow/commit/81d3f2657b17436d6d5a6af9aaf6f36c3f5e4ac9.patch";
|
||||
sha256 = "18fmzr5f79hvx2qpyfgvvl98p4zgzfxrmrd1d2basp0w0da1ciqs";
|
||||
includes = [ "*CMakeLists.txt" "*.cmake" "*.cmake.in" ];
|
||||
stripLen = 1;
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -132,15 +132,15 @@ let
|
||||
# drop comments
|
||||
aspell-affix() {
|
||||
words-only \
|
||||
| grep -v '#' \
|
||||
| grep -a -v '#' \
|
||||
| aspell-create "$@"
|
||||
}
|
||||
|
||||
# Hack: drop comments and words with affixes
|
||||
aspell-plain() {
|
||||
words-only \
|
||||
| grep -v '#' \
|
||||
| grep -v '/' \
|
||||
| grep -a -v '#' \
|
||||
| grep -a -v '/' \
|
||||
| aspell-create "$@"
|
||||
}
|
||||
|
||||
|
||||
@@ -20,11 +20,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "at-spi2-core";
|
||||
version = "2.36.0";
|
||||
version = "2.36.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "0nn0lnf07ayysq8c8irmvc91c2dszn04m5qs6jy60g3y1bg5gnl8";
|
||||
sha256 = "0m3crrdbc9vdn9dr4lssdwrjmm8z5wxs2qhhnbkh1w5vkn87nhcp";
|
||||
};
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
{ stdenv, fetchurl, cmake, qt4 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "attica-0.4.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kde/stable/attica/${name}.tar.bz2";
|
||||
sha256 = "1y74gsyzi70dfr9d1f1b08k130rm3jaibsppg8dv5h3211vm771v";
|
||||
};
|
||||
|
||||
buildInputs = [ qt4 ];
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Library to access Open Collaboration Service providers";
|
||||
license = "LGPL";
|
||||
maintainers = [ maintainers.sander maintainers.phreedom ];
|
||||
inherit (qt4.meta) platforms;
|
||||
};
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchFromGitHub
|
||||
, pkgconfig, autoreconfHook
|
||||
, pkg-config, autoreconfHook
|
||||
, gtk3, gobject-introspection, gtk-doc, vala
|
||||
}:
|
||||
|
||||
@@ -14,16 +14,16 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1jmdvvgrgicpnpnygc24qcisqb9y026541gb6lw6fwapvc9aj73p";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig autoreconfHook gtk-doc vala ];
|
||||
nativeBuildInputs = [ pkg-config autoreconfHook gtk-doc vala gobject-introspection ];
|
||||
|
||||
buildInputs = [ gtk3 gobject-introspection ];
|
||||
buildInputs = [ gtk3 ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Ayatana Display Indicator Objects";
|
||||
homepage = "https://github.com/AyatanaIndicators/ayatana-ido";
|
||||
changelog = "https://github.com/AyatanaIndicators/ayatana-ido/blob/${version}/ChangeLog";
|
||||
license = [ licenses.gpl3 licenses.lgpl21 ];
|
||||
license = [ licenses.lgpl3Plus licenses.lgpl21Plus ];
|
||||
maintainers = [ maintainers.nickhu ];
|
||||
platforms = platforms.x86_64;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -33,9 +33,9 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Image pixel format conversion library";
|
||||
homepage = "http://gegl.org/babl/";
|
||||
license = licenses.gpl3;
|
||||
maintainers = with stdenv.lib.maintainers; [ jtojnar ];
|
||||
homepage = "https://gegl.org/babl/";
|
||||
license = licenses.lgpl3Plus;
|
||||
maintainers = with maintainers; [ jtojnar ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "belcard";
|
||||
version = "4.3.1";
|
||||
version = "4.4.0";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "gitlab.linphone.org";
|
||||
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
||||
group = "BC";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1w6rbp53cwxr00clp957458x27cgc2y9ylwa5mp812qva7zadmfw";
|
||||
sha256 = "16x2xp8d0a115132zhy1kpxkyj86ia7vrsnpjdg78fnbvmvysc8m";
|
||||
};
|
||||
|
||||
buildInputs = [ bctoolbox belr ];
|
||||
|
||||
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
|
||||
cmakeFlags = [ "-DENABLE_STATIC=NO" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Belr is Belledonne Communications' language recognition library";
|
||||
description = "Belledonne Communications' language recognition library";
|
||||
homepage = "https://gitlab.linphone.org/BC/public/belr";
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.all;
|
||||
|
||||
16
pkgs/development/libraries/boost/1.73.nix
Normal file
16
pkgs/development/libraries/boost/1.73.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{ stdenv, callPackage, fetchurl, fetchpatch, ... } @ args:
|
||||
|
||||
callPackage ./generic.nix (args // rec {
|
||||
version = "1.73.0";
|
||||
|
||||
src = fetchurl {
|
||||
#url = "mirror://sourceforge/boost/boost_1_73_0.tar.bz2";
|
||||
urls = [
|
||||
"mirror://sourceforge/boost/boost_1_73_0.tar.bz2"
|
||||
"https://dl.bintray.com/boostorg/release/1.73.0/source/boost_1_73_0.tar.bz2"
|
||||
];
|
||||
# SHA256 from http://www.boost.org/users/history/version_1_73_0.html
|
||||
sha256 = "4eb3b8d442b426dc35346235c8733b5ae35ba431690e38c6a8263dce9fcbb402";
|
||||
};
|
||||
})
|
||||
|
||||
15
pkgs/development/libraries/boost/1.74.nix
Normal file
15
pkgs/development/libraries/boost/1.74.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
{ stdenv, callPackage, fetchurl, fetchpatch, ... } @ args:
|
||||
|
||||
callPackage ./generic.nix (args // rec {
|
||||
version = "1.74.0";
|
||||
|
||||
src = fetchurl {
|
||||
urls = [
|
||||
"mirror://sourceforge/boost/boost_1_74_0.tar.bz2"
|
||||
"https://dl.bintray.com/boostorg/release/1.74.0/source/boost_1_74_0.tar.bz2"
|
||||
];
|
||||
# SHA256 from http://www.boost.org/users/history/version_1_74_0.html
|
||||
sha256 = "83bfc1507731a0906e387fc28b7ef5417d591429e51e788417fe9ff025e116b1";
|
||||
};
|
||||
})
|
||||
|
||||
22
pkgs/development/libraries/boost/cmake-paths-173.patch
Normal file
22
pkgs/development/libraries/boost/cmake-paths-173.patch
Normal file
@@ -0,0 +1,22 @@
|
||||
diff --git a/tools/boost_install/boost-install.jam b/tools/boost_install/boost-install.jam
|
||||
index 4238f921e..8fc1ea269 100644
|
||||
--- a/tools/boost_install/boost-install.jam
|
||||
+++ b/tools/boost_install/boost-install.jam
|
||||
@@ -649,7 +649,7 @@ rule generate-cmake-config- ( target : sources * : properties * )
|
||||
""
|
||||
"# Compute the include and library directories relative to this file."
|
||||
""
|
||||
- "get_filename_component(_BOOST_CMAKEDIR \"${CMAKE_CURRENT_LIST_DIR}/../\" REALPATH)"
|
||||
+ "get_filename_component(_BOOST_REAL_CMAKEDIR \"${CMAKE_CURRENT_LIST_DIR}/../\" REALPATH)"
|
||||
: true ;
|
||||
|
||||
if [ path.is-rooted $(cmakedir) ]
|
||||
@@ -668,6 +668,8 @@ rule generate-cmake-config- ( target : sources * : properties * )
|
||||
" unset(_BOOST_CMAKEDIR_ORIGINAL)"
|
||||
"endif()"
|
||||
""
|
||||
+ "# Assume that the installer actually did know where the libs were to be installed"
|
||||
+ "get_filename_component(_BOOST_CMAKEDIR \"$(cmakedir-native)\" REALPATH)"
|
||||
: true ;
|
||||
}
|
||||
|
||||
@@ -113,7 +113,8 @@ stdenv.mkDerivation {
|
||||
if version == "1.55.0"
|
||||
then ./darwin-1.55-no-system-python.patch
|
||||
else ./darwin-no-system-python.patch)
|
||||
++ optional (versionAtLeast version "1.70") ./cmake-paths.patch;
|
||||
++ optional (and (versionAtLeast version "1.70") (!versionAtLeast version "1.73")) ./cmake-paths.patch
|
||||
++ optional (versionAtLeast version "1.73") ./cmake-paths-173.patch;
|
||||
|
||||
meta = {
|
||||
homepage = "http://boost.org/";
|
||||
|
||||
@@ -1,36 +1,25 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, pkg-config, gettext, libcsptr, dyncall
|
||||
, nanomsg, python37Packages }:
|
||||
{ stdenv, fetchFromGitHub, meson, ninja, python37Packages }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "unstable-2019-09-19";
|
||||
version = "unstable-2019-10-09";
|
||||
pname = "boxfort";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Snaipe";
|
||||
repo = "BoxFort";
|
||||
rev = "926bd4ce968592dbbba97ec1bb9aeca3edf29b0d";
|
||||
sha256 = "0mzy4f8qij6ckn5578y3l4rni2470pdkjy5xww7ak99l1kh3p3v6";
|
||||
rev = "356f047db08b7344ea7980576b705e65b9fc8772";
|
||||
sha256 = "1p0llz7n0p5gzpvqszmra9p88vnr0j88sp5ixhgbfz89bswg62ss";
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
nativeBuildInputs = [ meson ninja ];
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
|
||||
buildInputs = [
|
||||
dyncall
|
||||
gettext
|
||||
libcsptr
|
||||
nanomsg
|
||||
];
|
||||
preConfigure = ''
|
||||
patchShebangs ci/isdir.py
|
||||
'';
|
||||
|
||||
checkInputs = with python37Packages; [ cram ];
|
||||
|
||||
cmakeFlags = [ "-DBXF_FORK_RESILIENCE=OFF" ];
|
||||
|
||||
doCheck = true;
|
||||
preCheck = ''
|
||||
export LD_LIBRARY_PATH=`pwd`''${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH
|
||||
'';
|
||||
|
||||
outputs = [ "dev" "out" ];
|
||||
|
||||
@@ -38,10 +27,7 @@ stdenv.mkDerivation rec {
|
||||
description = "Convenient & cross-platform sandboxing C library";
|
||||
homepage = "https://github.com/Snaipe/BoxFort";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [
|
||||
thesola10
|
||||
Yumasi
|
||||
];
|
||||
maintainers = with maintainers; [ thesola10 Yumasi ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=cast-function-type";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "BZRTP is an opensource implementation of ZRTP keys exchange protocol";
|
||||
description = "An opensource implementation of ZRTP keys exchange protocol";
|
||||
homepage = "https://gitlab.linphone.org/BC/public/bzrtp";
|
||||
# They have switched to GPLv3 on git HEAD so probably the next release will
|
||||
# be GPL3.
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "c-blosc";
|
||||
version = "1.20.0";
|
||||
version = "1.20.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Blosc";
|
||||
repo = "c-blosc";
|
||||
rev = "v${version}";
|
||||
sha256 = "1rhv9na9cdp2j81a981s2y69c7m9apdiylf9j51dij0lm1m0ljdr";
|
||||
sha256 = "0a3yrig78plzjbazfqcfrzqhnw17xd0dcayvp4z4kp415kgs2a3s";
|
||||
};
|
||||
|
||||
buildInputs = [ cmake ];
|
||||
|
||||
@@ -35,6 +35,9 @@ in stdenv.mkDerivation rec {
|
||||
url = "https://gitlab.freedesktop.org/cairo/cairo/commit/6edf572ebb27b00d3c371ba5ae267e39d27d5b6d.patch";
|
||||
sha256 = "112hgrrsmcwxh1r52brhi5lksq4pvrz4xhkzcf2iqp55jl2pb7n1";
|
||||
})
|
||||
] ++ optionals stdenv.hostPlatform.isDarwin [
|
||||
# Workaround https://gitlab.freedesktop.org/cairo/cairo/-/issues/121
|
||||
./skip-configure-stderr-check.patch
|
||||
];
|
||||
|
||||
outputs = [ "out" "dev" "devdoc" ];
|
||||
|
||||
@@ -0,0 +1,89 @@
|
||||
https://bugs.freedesktop.org/show_bug.cgi?id=30910#c6
|
||||
|
||||
Comment 6 Jeremy Huddleston Sequoia 2014-07-15 04:12:40 UTC
|
||||
|
||||
Yes, it is still an issue. We just disable the buggy '"x$cairo_cc_stderr" != "x"' logic, but that's not really a portable solution for you:
|
||||
|
||||
diff -Naurp cairo-1.12.2.orig/configure cairo-1.12.2/configure
|
||||
--- cairo-1.12.2.orig/configure 2012-04-29 11:49:59.000000000 -0700
|
||||
+++ cairo-1.12.2/configure 2012-05-03 11:23:49.000000000 -0700
|
||||
@@ -18044,7 +18044,7 @@ fi
|
||||
rm -f core conftest.err conftest.$ac_objext \
|
||||
conftest$ac_exeext conftest.$ac_ext
|
||||
|
||||
- if test "x$cairo_cc_stderr" != "x"; then
|
||||
+ if false; then
|
||||
cairo_cc_flag=no
|
||||
fi
|
||||
|
||||
@@ -18091,7 +18091,7 @@ fi
|
||||
rm -f core conftest.err conftest.$ac_objext \
|
||||
conftest$ac_exeext conftest.$ac_ext
|
||||
|
||||
- if test "x$cairo_cc_stderr" != "x"; then
|
||||
+ if false; then
|
||||
cairo_cc_flag=no
|
||||
fi
|
||||
|
||||
@@ -18161,7 +18161,7 @@ fi
|
||||
rm -f core conftest.err conftest.$ac_objext \
|
||||
conftest$ac_exeext conftest.$ac_ext
|
||||
|
||||
- if test "x$cairo_cc_stderr" != "x"; then
|
||||
+ if false; then
|
||||
cairo_cc_flag=no
|
||||
fi
|
||||
|
||||
@@ -18217,7 +18217,7 @@ fi
|
||||
rm -f core conftest.err conftest.$ac_objext \
|
||||
conftest$ac_exeext conftest.$ac_ext
|
||||
|
||||
- if test "x$cairo_cc_stderr" != "x"; then
|
||||
+ if false; then
|
||||
cairo_cc_flag=no
|
||||
fi
|
||||
|
||||
@@ -19663,7 +19663,7 @@ fi
|
||||
rm -f core conftest.err conftest.$ac_objext \
|
||||
conftest$ac_exeext conftest.$ac_ext
|
||||
|
||||
- if test "x$cairo_cc_stderr" != "x"; then
|
||||
+ if false; then
|
||||
cairo_cc_flag=no
|
||||
fi
|
||||
|
||||
@@ -19710,7 +19710,7 @@ fi
|
||||
rm -f core conftest.err conftest.$ac_objext \
|
||||
conftest$ac_exeext conftest.$ac_ext
|
||||
|
||||
- if test "x$cairo_cc_stderr" != "x"; then
|
||||
+ if false; then
|
||||
cairo_cc_flag=no
|
||||
fi
|
||||
|
||||
@@ -32692,7 +32692,7 @@ fi
|
||||
rm -f core conftest.err conftest.$ac_objext \
|
||||
conftest$ac_exeext conftest.$ac_ext
|
||||
|
||||
- if test "x$cairo_cc_stderr" != "x"; then
|
||||
+ if false; then
|
||||
cairo_cc_flag=no
|
||||
fi
|
||||
|
||||
@@ -32811,7 +32811,7 @@ fi
|
||||
rm -f core conftest.err conftest.$ac_objext \
|
||||
conftest$ac_exeext conftest.$ac_ext
|
||||
|
||||
- if test "x$cairo_cc_stderr" != "x"; then
|
||||
+ if false ; then
|
||||
cairo_cc_flag=no
|
||||
fi
|
||||
|
||||
@@ -32892,7 +32892,7 @@ fi
|
||||
rm -f core conftest.err conftest.$ac_objext \
|
||||
conftest$ac_exeext conftest.$ac_ext
|
||||
|
||||
- if test "x$cairo_cc_stderr" != "x"; then
|
||||
+ if false; then
|
||||
cairo_cc_flag=no
|
||||
fi
|
||||
@@ -1,20 +1,27 @@
|
||||
{ stdenv, fetchurl, cmake, freeglut, libGLU, libGL, glfw2, glew, libX11, xorgproto
|
||||
, libXi, libXmu
|
||||
, libXi, libXmu, fetchpatch, libXrandr
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "chipmunk";
|
||||
majorVersion = "7";
|
||||
version = "${majorVersion}.0.1";
|
||||
version = "${majorVersion}.0.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://chipmunk-physics.net/release/Chipmunk-${majorVersion}.x/Chipmunk-${version}.tgz";
|
||||
sha256 = "0q4jwv1icz8spcjkp0v3bnygi6hq2zmnsgcxkwm8i2bxfxjb8m7y";
|
||||
sha256 = "06j9cfxsyrrnyvl7hsf55ac5mgff939mmijliampphlizyg0r2q4";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://github.com/slembcke/Chipmunk2D/commit/9a051e6fb970c7afe09ce2d564c163b81df050a8.patch";
|
||||
sha256 = "0ps8bjba1k544vcdx5w0qk7gcjq94yfigxf67j50s63yf70k2n70";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs =
|
||||
[ freeglut libGLU libGL glfw2 glew libX11 xorgproto libXi libXmu ];
|
||||
[ freeglut libGLU libGL glfw2 glew libX11 xorgproto libXi libXmu libXrandr ];
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/bin
|
||||
|
||||
@@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
|
||||
owner = "dtschump";
|
||||
repo = "CImg";
|
||||
rev = "v.${version}";
|
||||
sha256 = "sha256-7v8651yDkxTdRMoGhEl4d/k7mxYwfIwW/rkuyjqVGwY=";
|
||||
sha256 = "01hvjlxclbmrzqb8qz1h2sdkpybpg14q81na8kfi94w3bkkkmzzf";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
|
||||
@@ -7,13 +7,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cpp-utilities";
|
||||
version = "5.6.0";
|
||||
version = "5.7.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Martchus";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0998pyrxicpalm2w1wmv7qrfhzgr45kl6xh9gv0zxhx2a4xjqq5v";
|
||||
sha256 = "04483v9bw6wp831f34fn46zj54v9y7f6qqfmx85fjxhkr3rqk4i0";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
@@ -6,13 +6,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ctypes.sh";
|
||||
version = "1.1";
|
||||
version = "1.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "taviso";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "07rqbdxw33h92mllh0srymjjx52mddafs3jyzqpsflq3v0l0dk37";
|
||||
sha256 = "1wafyfhwd7nf7xdici0djpwgykizaz7jlarn0r1b4spnpjx1zbx4";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||
|
||||
@@ -10,6 +10,9 @@
|
||||
, libSM ? null
|
||||
, x11Support ? (stdenv.isLinux || stdenv.isDarwin)
|
||||
, dbus
|
||||
, docbook_xml_dtd_44
|
||||
, docbook-xsl-nons
|
||||
, xmlto
|
||||
}:
|
||||
|
||||
assert
|
||||
@@ -43,10 +46,13 @@ stdenv.mkDerivation rec {
|
||||
--replace 'DBUS_DAEMONDIR"/dbus-daemon"' '"/run/current-system/sw/bin/dbus-daemon"'
|
||||
'';
|
||||
|
||||
outputs = [ "out" "dev" "lib" "doc" ];
|
||||
outputs = [ "out" "dev" "lib" "doc" "man" ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkgconfig
|
||||
docbook_xml_dtd_44
|
||||
docbook-xsl-nons
|
||||
xmlto
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@@ -63,6 +69,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
configureFlags = [
|
||||
"--enable-user-session"
|
||||
"--enable-xml-docs"
|
||||
"--libexecdir=${placeholder ''out''}/libexec"
|
||||
"--datadir=/etc"
|
||||
"--localstatedir=/var"
|
||||
|
||||
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/cwida/duckdb";
|
||||
description = "DuckDB is an embeddable SQL OLAP Database Management System";
|
||||
description = "Embeddable SQL OLAP Database Management System";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ costrouc ];
|
||||
|
||||
@@ -3,13 +3,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "embree";
|
||||
version = "3.12.0";
|
||||
version = "3.12.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "embree";
|
||||
repo = "embree";
|
||||
rev = "v${version}";
|
||||
sha256 = "1q06fkfww8z8pcnhaqc4d2zi8hn620i9h9dmpnrfy3azalvizhkq";
|
||||
sha256 = "0aznd16n7h8g3f6jcahzfp1dq4r7wayqvn03wsaskiq2dvsi4srd";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -4,13 +4,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "faudio";
|
||||
version = "20.09";
|
||||
version = "20.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "FNA-XNA";
|
||||
repo = "FAudio";
|
||||
rev = version;
|
||||
sha256 = "097pdpd34aw420c46j6nrl5wdklgqrsznml0q2qxw1m7hrl7gkk6";
|
||||
sha256 = "0f5b45zdsy3yv2jsdy5zsd6xcfk1z5w5vlyvnim3d4bn875sp370";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [cmake];
|
||||
|
||||
@@ -1,18 +1,18 @@
|
||||
{ stdenv, lib, fetchgit, pkg-config, meson, ninja, scdoc
|
||||
,freetype, fontconfig, pixman, tllist, check }:
|
||||
,freetype, fontconfig, harfbuzz, pixman, tllist, check }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "fcft";
|
||||
version = "2.2.6";
|
||||
version = "2.3.1";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://codeberg.org/dnkl/fcft.git";
|
||||
rev = "${version}";
|
||||
sha256 = "06zywvvgrch9k4d07bir2sxddwsli2gzpvlvjfcwbrj3bw5x6j1b";
|
||||
rev = version;
|
||||
sha256 = "sha256-FD3KfaQbSEA1XdmS6YxH+c5fSsra9Ro/KKslb7Brv7U=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config meson ninja scdoc ];
|
||||
buildInputs = [ freetype fontconfig pixman tllist ];
|
||||
buildInputs = [ freetype fontconfig pixman tllist harfbuzz ];
|
||||
checkInputs = [ check ];
|
||||
|
||||
mesonFlags = [ "--buildtype=release" ];
|
||||
|
||||
@@ -244,6 +244,15 @@ stdenv.mkDerivation rec {
|
||||
pname = "ffmpeg-full";
|
||||
inherit (ffmpeg) src version;
|
||||
|
||||
# this should go away in the next release
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://git.videolan.org/?p=ffmpeg.git;a=patch;h=7c59e1b0f285cd7c7b35fcd71f49c5fd52cf9315";
|
||||
sha256 = "sha256-dqpmpDFETTuWHWolMoLaubU4BeDEuQaBNA0wmzL1f8o=";
|
||||
name = "fix_libsrt.patch";
|
||||
})
|
||||
];
|
||||
|
||||
prePatch = ''
|
||||
patchShebangs .
|
||||
'' + stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
|
||||
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
|
||||
checkTarget = "test";
|
||||
|
||||
meta = {
|
||||
description = "Memory Efficient Serialization Library.";
|
||||
description = "Memory Efficient Serialization Library";
|
||||
longDescription = ''
|
||||
FlatBuffers is an efficient cross platform serialization library for
|
||||
games and other memory constrained apps. It allows you to directly
|
||||
|
||||
@@ -18,20 +18,20 @@ let
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "galario";
|
||||
version = "1.2.1";
|
||||
version = "1.2.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mtazzari";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1akz7md7ly16a89zr880c265habakqdg9sj8iil90klqa0i21w6g";
|
||||
sha256 = "0dw88ga50x3jwyfgcarn4azlhiarggvdg262hilm7rbrvlpyvha0";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
buildInputs = [ fftw fftwFloat ]
|
||||
++ stdenv.lib.optional enablePython pythonPackages.python
|
||||
++ stdenv.lib.optional stdenv.isDarwin llvmPackages.openmp
|
||||
++ stdenv.lib.optional enablePython pythonPackages.python
|
||||
++ stdenv.lib.optional stdenv.isDarwin llvmPackages.openmp
|
||||
;
|
||||
|
||||
propagatedBuildInputs = stdenv.lib.optional enablePython [
|
||||
@@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
|
||||
pythonPackages.pytest
|
||||
];
|
||||
|
||||
checkInputs = stdenv.lib.optional enablePython pythonPackages.scipy;
|
||||
checkInputs = stdenv.lib.optional enablePython [ pythonPackages.scipy pythonPackages.pytestcov ];
|
||||
|
||||
preConfigure = ''
|
||||
mkdir -p build/external/src
|
||||
|
||||
@@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
|
||||
"--with-poppler=${poppler.dev}" # optional
|
||||
"--with-libz=${zlib.dev}" # optional
|
||||
"--with-pg=${postgresql}/bin/pg_config"
|
||||
"--with-mysql=${libmysqlclient}/bin/mysql_config"
|
||||
"--with-mysql=${getDev libmysqlclient}/bin/mysql_config"
|
||||
"--with-geotiff=${libgeotiff.dev}"
|
||||
"--with-sqlite3=${sqlite.dev}"
|
||||
"--with-spatialite=${libspatialite}"
|
||||
|
||||
@@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
|
||||
"--with-poppler=${poppler.dev}" # optional
|
||||
"--with-libz=${zlib.dev}" # optional
|
||||
"--with-pg=yes" # since gdal 3.0 doesn't use ${postgresql}/bin/pg_config
|
||||
"--with-mysql=${libmysqlclient}/bin/mysql_config"
|
||||
"--with-mysql=${getDev libmysqlclient}/bin/mysql_config"
|
||||
"--with-geotiff=${libgeotiff}"
|
||||
"--with-sqlite3=${sqlite.dev}"
|
||||
"--with-spatialite=${libspatialite}"
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
, doCheck ? false
|
||||
, makeWrapper
|
||||
, fetchpatch
|
||||
, lib
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -74,7 +75,7 @@ stdenv.mkDerivation rec {
|
||||
mesonFlags = [
|
||||
"-Ddocs=true"
|
||||
"-Dx11=false" # use gdk-pixbuf-xlib
|
||||
"-Dgir=${if gobject-introspection != null then "true" else "false"}"
|
||||
"-Dgir=${lib.boolToString (gobject-introspection != null)}"
|
||||
"-Dgio_sniffing=false"
|
||||
];
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://download.gimp.org/pub/gegl/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "097427icgpgvcx40019b3dm8m84cchz79pixzpz648drs8p1wdqg";
|
||||
sha256 = "sha256-DzceLtK5IWL+/T3edD5kjKCKahsrBQBIZ/vdx+IR5CQ=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
@@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
|
||||
# https://gitlab.gnome.org/GNOME/gegl/-/merge_requests/83
|
||||
(fetchpatch {
|
||||
url = "https://gitlab.gnome.org/GNOME/gegl/-/merge_requests/83.patch";
|
||||
sha256 = "CSBYbJ2xnEN23xrla1qqr244jxOR5vNK8ljBSXdg4yE=";
|
||||
sha256 = "sha256-CSBYbJ2xnEN23xrla1qqr244jxOR5vNK8ljBSXdg4yE=";
|
||||
})
|
||||
];
|
||||
|
||||
@@ -120,8 +120,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Graph-based image processing framework";
|
||||
homepage = "http://www.gegl.org";
|
||||
license = licenses.gpl3;
|
||||
homepage = "https://www.gegl.org";
|
||||
license = licenses.lgpl3Plus;
|
||||
maintainers = with maintainers; [ jtojnar ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
|
||||
@@ -1,12 +1,24 @@
|
||||
{ stdenv, fetchurl, pkgconfig, babl, libpng, cairo, libjpeg
|
||||
, librsvg, pango, gtk2, bzip2, intltool, libintl
|
||||
{ stdenv
|
||||
, fetchurl
|
||||
, pkgconfig
|
||||
, babl
|
||||
, libpng
|
||||
, cairo
|
||||
, libjpeg
|
||||
, librsvg
|
||||
, pango
|
||||
, gtk2
|
||||
, bzip2
|
||||
, intltool
|
||||
, libintl
|
||||
, OpenGL ? null }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gegl-0.2.0";
|
||||
pname = "gegl";
|
||||
version = "0.2.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "ftp://ftp.gtk.org/pub/gegl/0.2/${name}.tar.bz2";
|
||||
url = "ftp://ftp.gtk.org/pub/gegl/0.2/${pname}-${version}.tar.bz2";
|
||||
sha256 = "df2e6a0d9499afcbc4f9029c18d9d1e0dd5e8710a75e17c9b1d9a6480dd8d426";
|
||||
};
|
||||
|
||||
@@ -17,7 +29,7 @@ stdenv.mkDerivation rec {
|
||||
name = "CVE-2012-4433.patch";
|
||||
})];
|
||||
|
||||
# needs fonts otherwise don't know how to pass them
|
||||
# needs fonts otherwise don't know how to pass them
|
||||
configureFlags = [ "--disable-docs" ];
|
||||
|
||||
buildInputs = [ babl libpng cairo libjpeg librsvg pango gtk2 bzip2 intltool libintl ]
|
||||
@@ -27,10 +39,11 @@ stdenv.mkDerivation rec {
|
||||
|
||||
doCheck = false; # fails 3 out of 19 tests
|
||||
|
||||
meta = {
|
||||
meta = with stdenv.lib; {
|
||||
description = "Graph-based image processing framework";
|
||||
homepage = "http://www.gegl.org";
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
homepage = "https://www.gegl.org";
|
||||
license = licenses.lgpl3Plus;
|
||||
maintainers = with maintainers; [ jtojnar ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
mesonFlags = [
|
||||
"-Dsystemd-system-unit-dir=${placeholder "out"}/etc/systemd/system"
|
||||
"-Ddemo-agent=${if withDemoAgent then "true" else "false"}"
|
||||
"-Ddemo-agent=${boolToString withDemoAgent}"
|
||||
"--sysconfdir=/etc"
|
||||
"-Dsysconfdir_install=${placeholder "out"}/etc"
|
||||
"-Ddbus-srv-user=geoclue"
|
||||
|
||||
@@ -108,7 +108,7 @@ stdenv.mkDerivation rec {
|
||||
mesonFlags = [
|
||||
# Avoid the need for gobject introspection binaries in PATH in cross-compiling case.
|
||||
# Instead we just copy them over from the native output.
|
||||
"-Dgtk_doc=${if stdenv.hostPlatform == stdenv.buildPlatform then "true" else "false"}"
|
||||
"-Dgtk_doc=${boolToString (stdenv.hostPlatform == stdenv.buildPlatform)}"
|
||||
"-Dnls=enabled"
|
||||
"-Ddevbindir=${placeholder ''dev''}/bin"
|
||||
];
|
||||
|
||||
@@ -1,62 +0,0 @@
|
||||
From: Andreas Schwab <schwab@suse.de>
|
||||
Date: Wed, 19 Feb 2020 16:21:46 +0000 (+0100)
|
||||
Subject: Fix use-after-free in glob when expanding ~user (bug 25414)
|
||||
X-Git-Url: https://sourceware.org/git/?p=glibc.git;a=commitdiff_plain;h=da97c6b88eb03fb834e92964b0895c2ac8d61f63;hp=dd34bce38c822b67fcc42e73969bf6699d6874b6
|
||||
|
||||
Fix use-after-free in glob when expanding ~user (bug 25414)
|
||||
|
||||
The value of `end_name' points into the value of `dirname', thus don't
|
||||
deallocate the latter before the last use of the former.
|
||||
|
||||
(cherry picked from commit ddc650e9b3dc916eab417ce9f79e67337b05035c)
|
||||
---
|
||||
|
||||
diff --git a/posix/glob.c b/posix/glob.c
|
||||
index e73e35c510..c6cbd0eb43 100644
|
||||
--- a/posix/glob.c
|
||||
+++ b/posix/glob.c
|
||||
@@ -827,31 +827,32 @@ __glob (const char *pattern, int flags, int (*errfunc) (const char *, int),
|
||||
{
|
||||
size_t home_len = strlen (p->pw_dir);
|
||||
size_t rest_len = end_name == NULL ? 0 : strlen (end_name);
|
||||
- char *d;
|
||||
+ char *d, *newp;
|
||||
+ bool use_alloca = glob_use_alloca (alloca_used,
|
||||
+ home_len + rest_len + 1);
|
||||
|
||||
- if (__glibc_unlikely (malloc_dirname))
|
||||
- free (dirname);
|
||||
- malloc_dirname = 0;
|
||||
-
|
||||
- if (glob_use_alloca (alloca_used, home_len + rest_len + 1))
|
||||
- dirname = alloca_account (home_len + rest_len + 1,
|
||||
- alloca_used);
|
||||
+ if (use_alloca)
|
||||
+ newp = alloca_account (home_len + rest_len + 1, alloca_used);
|
||||
else
|
||||
{
|
||||
- dirname = malloc (home_len + rest_len + 1);
|
||||
- if (dirname == NULL)
|
||||
+ newp = malloc (home_len + rest_len + 1);
|
||||
+ if (newp == NULL)
|
||||
{
|
||||
scratch_buffer_free (&pwtmpbuf);
|
||||
retval = GLOB_NOSPACE;
|
||||
goto out;
|
||||
}
|
||||
- malloc_dirname = 1;
|
||||
}
|
||||
- d = mempcpy (dirname, p->pw_dir, home_len);
|
||||
+ d = mempcpy (newp, p->pw_dir, home_len);
|
||||
if (end_name != NULL)
|
||||
d = mempcpy (d, end_name, rest_len);
|
||||
*d = '\0';
|
||||
|
||||
+ if (__glibc_unlikely (malloc_dirname))
|
||||
+ free (dirname);
|
||||
+ dirname = newp;
|
||||
+ malloc_dirname = !use_alloca;
|
||||
+
|
||||
dirlen = home_len + rest_len;
|
||||
dirname_modified = 1;
|
||||
}
|
||||
@@ -1,79 +0,0 @@
|
||||
diff --git a/sysdeps/ieee754/ldbl-96/Makefile b/sysdeps/ieee754/ldbl-96/Makefile
|
||||
index 995e90d6da..318628aed6 100644
|
||||
--- a/sysdeps/ieee754/ldbl-96/Makefile
|
||||
+++ b/sysdeps/ieee754/ldbl-96/Makefile
|
||||
@@ -17,5 +17,6 @@
|
||||
# <https://www.gnu.org/licenses/>.
|
||||
|
||||
ifeq ($(subdir),math)
|
||||
-tests += test-canonical-ldbl-96 test-totalorderl-ldbl-96
|
||||
+tests += test-canonical-ldbl-96 test-totalorderl-ldbl-96 test-sinl-pseudo
|
||||
+CFLAGS-test-sinl-pseudo.c += -fstack-protector-all
|
||||
endif
|
||||
diff --git a/sysdeps/ieee754/ldbl-96/e_rem_pio2l.c b/sysdeps/ieee754/ldbl-96/e_rem_pio2l.c
|
||||
index 5f742321ae..bcdf20179f 100644
|
||||
--- a/sysdeps/ieee754/ldbl-96/e_rem_pio2l.c
|
||||
+++ b/sysdeps/ieee754/ldbl-96/e_rem_pio2l.c
|
||||
@@ -210,6 +210,18 @@ __ieee754_rem_pio2l (long double x, long double *y)
|
||||
return 0;
|
||||
}
|
||||
|
||||
+ if ((i0 & 0x80000000) == 0)
|
||||
+ {
|
||||
+ /* Pseudo-zero and unnormal representations are not valid
|
||||
+ representations of long double. We need to avoid stack
|
||||
+ corruption in __kernel_rem_pio2, which expects input in a
|
||||
+ particular normal form, but those representations do not need
|
||||
+ to be consistently handled like any particular floating-point
|
||||
+ value. */
|
||||
+ y[1] = y[0] = __builtin_nanl ("");
|
||||
+ return 0;
|
||||
+ }
|
||||
+
|
||||
/* Split the 64 bits of the mantissa into three 24-bit integers
|
||||
stored in a double array. */
|
||||
exp = j0 - 23;
|
||||
--- /dev/null
|
||||
+++ b/sysdeps/ieee754/ldbl-96/test-sinl-pseudo.c
|
||||
@@ -0,0 +1,41 @@
|
||||
+/* Test sinl for pseudo-zeros and unnormals for ldbl-96 (bug 25487).
|
||||
+ Copyright (C) 2020 Free Software Foundation, Inc.
|
||||
+ This file is part of the GNU C Library.
|
||||
+
|
||||
+ The GNU C Library is free software; you can redistribute it and/or
|
||||
+ modify it under the terms of the GNU Lesser General Public
|
||||
+ License as published by the Free Software Foundation; either
|
||||
+ version 2.1 of the License, or (at your option) any later version.
|
||||
+
|
||||
+ The GNU C Library is distributed in the hope that it will be useful,
|
||||
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
+ Lesser General Public License for more details.
|
||||
+
|
||||
+ You should have received a copy of the GNU Lesser General Public
|
||||
+ License along with the GNU C Library; if not, see
|
||||
+ <https://www.gnu.org/licenses/>. */
|
||||
+
|
||||
+#include <math.h>
|
||||
+#include <math_ldbl.h>
|
||||
+#include <stdint.h>
|
||||
+
|
||||
+static int
|
||||
+do_test (void)
|
||||
+{
|
||||
+ for (int i = 0; i < 64; i++)
|
||||
+ {
|
||||
+ uint64_t sig = i == 63 ? 0 : 1ULL << i;
|
||||
+ long double ld;
|
||||
+ SET_LDOUBLE_WORDS (ld, 0x4141,
|
||||
+ sig >> 32, sig & 0xffffffffULL);
|
||||
+ /* The requirement is that no stack overflow occurs when the
|
||||
+ pseudo-zero or unnormal goes through range reduction. */
|
||||
+ volatile long double ldr;
|
||||
+ ldr = sinl (ld);
|
||||
+ (void) ldr;
|
||||
+ }
|
||||
+ return 0;
|
||||
+}
|
||||
+
|
||||
+#include <support/test-driver.c>
|
||||
@@ -41,9 +41,9 @@
|
||||
} @ args:
|
||||
|
||||
let
|
||||
version = "2.31";
|
||||
version = "2.32";
|
||||
patchSuffix = "";
|
||||
sha256 = "05zxkyz9bv3j9h0xyid1rhvh3klhsmrpkf3bcs6frvlgyr2gwilj";
|
||||
sha256 = "0di848ibffrnwq7g2dvgqrnn4xqhj3h96csn69q4da51ymafl9qn";
|
||||
in
|
||||
|
||||
assert withLinuxHeaders -> linuxHeaders != null;
|
||||
@@ -59,9 +59,6 @@ stdenv.mkDerivation ({
|
||||
|
||||
patches =
|
||||
[
|
||||
/* Have rpcgen(1) look for cpp(1) in $PATH. */
|
||||
./rpcgen-path.patch
|
||||
|
||||
/* Allow NixOS and Nix to handle the locale-archive. */
|
||||
./nix-locale-archive.patch
|
||||
|
||||
@@ -113,8 +110,6 @@ stdenv.mkDerivation ({
|
||||
})
|
||||
|
||||
./fix-x64-abi.patch
|
||||
./2.30-cve-2020-1752.patch
|
||||
./2.31-cve-2020-10029.patch
|
||||
]
|
||||
++ lib.optional stdenv.hostPlatform.isMusl ./fix-rpc-types-musl-conflicts.patch
|
||||
++ lib.optional stdenv.buildPlatform.isDarwin ./darwin-cross-build.patch;
|
||||
@@ -146,8 +141,6 @@ stdenv.mkDerivation ({
|
||||
configureFlags =
|
||||
[ "-C"
|
||||
"--enable-add-ons"
|
||||
"--enable-obsolete-nsl"
|
||||
"--enable-obsolete-rpc"
|
||||
"--sysconfdir=/etc"
|
||||
"--enable-stackguard-randomization"
|
||||
(lib.withFeatureAs withLinuxHeaders "headers" "${linuxHeaders}/include")
|
||||
@@ -226,7 +219,7 @@ stdenv.mkDerivation ({
|
||||
|
||||
doCheck = false; # fails
|
||||
|
||||
meta = {
|
||||
meta = with lib; {
|
||||
homepage = "https://www.gnu.org/software/libc/";
|
||||
description = "The GNU C Library";
|
||||
|
||||
@@ -239,10 +232,10 @@ stdenv.mkDerivation ({
|
||||
most systems with the Linux kernel.
|
||||
'';
|
||||
|
||||
license = lib.licenses.lgpl2Plus;
|
||||
license = licenses.lgpl2Plus;
|
||||
|
||||
maintainers = [ lib.maintainers.eelco ];
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with maintainers; [ eelco ma27 ];
|
||||
platforms = platforms.linux;
|
||||
} // meta;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{ stdenv
|
||||
, fetchurl
|
||||
, fetchpatch
|
||||
, libmysqlclient
|
||||
# Excerpt from glpk's INSTALL file:
|
||||
# This feature allows the exact simplex solver to use the GNU MP
|
||||
# bignum library. If it is disabled, the exact simplex solver uses the
|
||||
@@ -21,9 +22,11 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "040sfaa9jclg2nqdh83w71sv9rc1sznpnfiripjdyr48cady50a2";
|
||||
};
|
||||
|
||||
buildInputs = stdenv.lib.optionals withGmp [
|
||||
gmp
|
||||
];
|
||||
buildInputs =
|
||||
[ libmysqlclient
|
||||
] ++ stdenv.lib.optionals withGmp [
|
||||
gmp
|
||||
];
|
||||
|
||||
configureFlags = stdenv.lib.optionals withGmp [
|
||||
"--with-gmp"
|
||||
@@ -47,6 +50,13 @@ stdenv.mkDerivation rec {
|
||||
})
|
||||
];
|
||||
|
||||
postPatch =
|
||||
# Do not hardcode the include path for libmysqlclient.
|
||||
''
|
||||
substituteInPlace configure \
|
||||
--replace '-I/usr/include/mysql' '$(mysql_config --include)'
|
||||
'';
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
assert guileBindings -> guile != null;
|
||||
let
|
||||
version = "3.6.14";
|
||||
version = "3.6.15";
|
||||
|
||||
# XXX: Gnulib's `test-select' fails on FreeBSD:
|
||||
# https://hydra.nixos.org/build/2962084/nixlog/1/raw .
|
||||
@@ -24,7 +24,7 @@ stdenv.mkDerivation {
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnupg/gnutls/v3.6/gnutls-${version}.tar.xz";
|
||||
sha256 = "0qwxsfizynly0ns537vnhnlm5lh03la4vbsmz675n0n7vqd7ac2n";
|
||||
sha256 = "0n0m93ymzd0q9hbknxc2ycanz49sqlkyyf73g9fk7n787llc7a0f";
|
||||
};
|
||||
|
||||
outputs = [ "bin" "dev" "out" "man" "devdoc" ];
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
{ stdenv, fetchFromGitHub, fetchpatch, cmake, zlib, c-ares, pkgconfig, openssl, protobuf, gflags, abseil-cpp }:
|
||||
{ stdenv, fetchFromGitHub, fetchpatch, cmake, zlib, c-ares, pkgconfig, openssl, protobuf
|
||||
, gflags, abseil-cpp, libnsl
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.32.0"; # N.B: if you change this, change pythonPackages.grpcio-tools to a matching version too
|
||||
@@ -19,7 +21,7 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cmake pkgconfig ];
|
||||
buildInputs = [ zlib c-ares c-ares.cmake-config openssl protobuf gflags abseil-cpp ];
|
||||
buildInputs = [ zlib c-ares c-ares.cmake-config openssl protobuf gflags abseil-cpp libnsl ];
|
||||
|
||||
cmakeFlags =
|
||||
[ "-DgRPC_ZLIB_PROVIDER=package"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, cmake, ninja, fetchFromGitHub }:
|
||||
{ stdenv, cmake, ninja, fetchFromGitHub, fetchpatch }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gtest";
|
||||
@@ -15,6 +15,11 @@ stdenv.mkDerivation rec {
|
||||
|
||||
patches = [
|
||||
./fix-cmake-config-includedir.patch
|
||||
(fetchpatch {
|
||||
name = "fix-pkgconfig-paths.patch";
|
||||
url = "https://github.com/google/googletest/commit/5126ff48d9ac54828d1947d1423a5ef2a8efee3b.patch";
|
||||
sha256 = "sha256-TBvECU/9nuvwjsCjWJP2b6DNy+FYnHIFZeuVW7g++JE=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cmake ninja ];
|
||||
|
||||
@@ -12,11 +12,18 @@ assert cupsSupport -> cups != null;
|
||||
|
||||
with stdenv.lib;
|
||||
|
||||
let
|
||||
pname = "gtk+";
|
||||
version = "2.24.32"; # remove passthru on next update
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gtk+-2.24.32";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
# passthru to prevent rebuild but allow pname and version
|
||||
passthru = { inherit pname version; };
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gtk+/2.24/${name}.tar.xz";
|
||||
url = "mirror://gnome/sources/gtk+/2.24/${pname}-${version}.tar.xz";
|
||||
sha256 = "b6c8a93ddda5eabe3bfee1eb39636c9a03d2a56c7b62828b359bf197943c582e";
|
||||
};
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ fetchurl, stdenv, pkgconfig, autoreconfHook, gettext, glib }:
|
||||
{ fetchurl, stdenv, pkgconfig, autoreconfHook, gettext, glib, buildPackages }:
|
||||
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -12,12 +12,26 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "07mqx09jxh8cv9753y2d2jsv7wp8vjmrd7zcfpbrddz3wc9kx705";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig autoreconfHook ];
|
||||
nativeBuildInputs = [
|
||||
pkgconfig
|
||||
autoreconfHook
|
||||
glib # required to satisfy AM_PATH_GLIB_2_0
|
||||
];
|
||||
buildInputs = [ gettext ];
|
||||
propagatedBuildInputs = [ glib ];
|
||||
|
||||
doCheck = false; # fails with "permission denied"
|
||||
|
||||
preBuild = stdenv.lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) ''
|
||||
pushd src
|
||||
make CC=${buildPackages.stdenv.cc}/bin/cc predicates_init
|
||||
mv predicates_init predicates_init_build
|
||||
make clean
|
||||
popd
|
||||
|
||||
substituteInPlace src/Makefile --replace "./predicates_init" "./predicates_init_build"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "http://gts.sourceforge.net/";
|
||||
license = stdenv.lib.licenses.lgpl2Plus;
|
||||
|
||||
@@ -4,13 +4,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "igraph";
|
||||
version = "0.8.2";
|
||||
version = "0.8.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "igraph";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "015yh9s19lmxm7l1ld8adlsqh1lrmzicl801saixdwl9w05hfva4";
|
||||
sha256 = "05k5ws1qgbfkxf6y923r61m42gy45l9awqqbfjqgrb3ricfr4wha";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig autoreconfHook ];
|
||||
|
||||
@@ -5,13 +5,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "intel-media-driver";
|
||||
version = "20.2.0";
|
||||
version = "20.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "intel";
|
||||
repo = "media-driver";
|
||||
rev = "intel-media-${version}";
|
||||
sha256 = "02a9wm7cz0nkpyfwic4a0dfm9bx1d2sybgh5rv0c618pl41mla33";
|
||||
sha256 = "0dy30g32iqyygap3cm1idbhwnm1p3qvf2j2nzcr9n5im287h5gcr";
|
||||
};
|
||||
|
||||
cmakeFlags = [
|
||||
|
||||
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
|
||||
doCheck = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Intel Media SDK.";
|
||||
description = "Intel Media SDK";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ midchildan ];
|
||||
platforms = [ "x86_64-linux" ];
|
||||
|
||||
@@ -10,6 +10,10 @@ stdenv.mkDerivation rec {
|
||||
|
||||
src = common.src;
|
||||
|
||||
postPatch = ''
|
||||
sed -ie '/sys\/sysctl.h/d' source/Irrlicht/COSOperator.cpp
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
cd source/Irrlicht
|
||||
'';
|
||||
|
||||
@@ -12,6 +12,12 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1z7rmqrhgl7hfb3d0077kvp8vpi05r2zk3qyqzmv7bzbal5sqqhv";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace CMake/ITKSetStandardCompilerFlags.cmake \
|
||||
--replace "-march=corei7" "" \
|
||||
--replace "-mtune=native" ""
|
||||
'';
|
||||
|
||||
cmakeFlags = [
|
||||
"-DBUILD_EXAMPLES=OFF"
|
||||
"-DBUILD_SHARED_LIBS=ON"
|
||||
|
||||
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
||||
preAutoreconf = "cd sources/";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Jalali calendar is a small and portable free software library to manipulate date and time in Jalali calendar system.";
|
||||
description = "Jalali calendar is a small and portable free software library to manipulate date and time in Jalali calendar system";
|
||||
homepage = "http://nongnu.org/jcal/";
|
||||
license = licenses.gpl3;
|
||||
maintainers = [ maintainers.linarcx ];
|
||||
|
||||
@@ -53,7 +53,7 @@ stdenv.mkDerivation rec {
|
||||
meta = with stdenv.lib; {
|
||||
inherit version;
|
||||
homepage = "https://github.com/open-source-parsers/jsoncpp";
|
||||
description = "A C++ library for interacting with JSON.";
|
||||
description = "A C++ library for interacting with JSON";
|
||||
maintainers = with maintainers; [ ttuegel cpages nand0p ];
|
||||
license = licenses.mit;
|
||||
platforms = platforms.all;
|
||||
|
||||
@@ -12,4 +12,7 @@ mkDerivation {
|
||||
patches = [ ./0001-qdiriterator-follow-symlinks.patch ];
|
||||
outputs = [ "out" "dev" ];
|
||||
outputBin = "dev";
|
||||
postInstall = ''
|
||||
moveToOutput ''${qtPluginPrefix:?}/designer/kconfigwidgets5widgets.so "$out"
|
||||
'';
|
||||
}
|
||||
|
||||
@@ -12,6 +12,9 @@ stdenv.mkDerivation rec {
|
||||
|
||||
propagatedBuildInputs = [ libtiff libjpeg zlib ];
|
||||
|
||||
# See https://trac.macports.org/ticket/60656
|
||||
LDFLAGS = if stdenv.hostPlatform.isDarwin then "-Wl,-w" else null;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Color management engine";
|
||||
homepage = "http://www.littlecms.com/";
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libamqpcpp";
|
||||
version = "4.1.7";
|
||||
version = "4.2.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "CopernicaMarketingSoftware";
|
||||
repo = "AMQP-CPP";
|
||||
rev = "v${version}";
|
||||
sha256 = "16xgl0yqzqkqfrz7x9rbbv8rj5rg5jlz4a7apj9igqb58q0w362x";
|
||||
sha256 = "0993vlvpa3vwg7qb5vl3jcnqwb8dqqfrxg4gg8mz7icnhx57kj34";
|
||||
};
|
||||
|
||||
buildInputs = [ openssl ];
|
||||
|
||||
@@ -2,8 +2,10 @@
|
||||
fetchFromGitHub, stdenv, pkgconfig, autoreconfHook,
|
||||
acl, attr, bzip2, e2fsprogs, libxml2, lzo, openssl, sharutils, xz, zlib, zstd,
|
||||
|
||||
# Optional but increases closure only negligibly.
|
||||
xarSupport ? true,
|
||||
# Optional but increases closure only negligibly. Also, while libxml2
|
||||
# builds fine on windows, but libarchive has trouble linking windows
|
||||
# things it depends on for some reason.
|
||||
xarSupport ? stdenv.hostPlatform.isUnix,
|
||||
}:
|
||||
|
||||
assert xarSupport -> libxml2 != null;
|
||||
@@ -22,7 +24,9 @@ stdenv.mkDerivation rec {
|
||||
outputs = [ "out" "lib" "dev" ];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig autoreconfHook ];
|
||||
buildInputs = [ sharutils zlib bzip2 openssl xz lzo zstd ]
|
||||
buildInputs =
|
||||
stdenv.lib.optional stdenv.hostPlatform.isUnix sharutils
|
||||
++ [ zlib bzip2 openssl xz lzo zstd ]
|
||||
++ stdenv.lib.optionals stdenv.isLinux [ e2fsprogs attr acl ]
|
||||
++ stdenv.lib.optional xarSupport libxml2;
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{ stdenv, fetchFromGitHub, lib
|
||||
, pkgconfig, autoreconfHook , gtk-doc
|
||||
, pkg-config, autoreconfHook , gtk-doc
|
||||
, gobject-introspection
|
||||
, gtkVersion ? "3"
|
||||
, gtk2, libayatana-indicator-gtk2, libdbusmenu-gtk2
|
||||
, gtk3, libayatana-indicator-gtk3, libdbusmenu-gtk3
|
||||
@@ -8,24 +9,24 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libayatana-appindicator-gtk${gtkVersion}";
|
||||
version = "0.5.4";
|
||||
version = "0.5.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "AyatanaIndicators";
|
||||
repo = "libayatana-appindicator";
|
||||
rev = version;
|
||||
sha256 = "0bqjqb7gabdk7mifk8azi630qw39z978f973fx2ylgdgr4a66j1v";
|
||||
sha256 = "1sba0w455rdkadkhxrx4fr63m0d9blsbb1q1hcshxw1k1z2nh1gk";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
prePatch = ''
|
||||
substituteInPlace configure.ac \
|
||||
--replace "codegendir pygtk-2.0" "codegendir pygobject-2.0"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ pkgconfig autoreconfHook gtk-doc ];
|
||||
nativeBuildInputs = [ pkg-config autoreconfHook gtk-doc gobject-introspection python2 python2Packages.pygtk dbus-glib ];
|
||||
|
||||
buildInputs = [ dbus-glib python2 python2Packages.pygtk ]
|
||||
++ lib.lists.optional (gtkVersion == "2") libayatana-indicator-gtk2
|
||||
buildInputs =
|
||||
lib.lists.optional (gtkVersion == "2") libayatana-indicator-gtk2
|
||||
++ lib.lists.optional (gtkVersion == "3") libayatana-indicator-gtk3;
|
||||
|
||||
propagatedBuildInputs =
|
||||
@@ -42,8 +43,8 @@ stdenv.mkDerivation rec {
|
||||
description = "Ayatana Application Indicators Shared Library";
|
||||
homepage = "https://github.com/AyatanaIndicators/libayatana-appindicator";
|
||||
changelog = "https://github.com/AyatanaIndicators/libayatana-appindicator/blob/${version}/ChangeLog";
|
||||
license = [ licenses.gpl3 licenses.lgpl21 ];
|
||||
license = [ licenses.lgpl3Plus licenses.lgpl21Plus ];
|
||||
maintainers = [ maintainers.nickhu ];
|
||||
platforms = platforms.x86_64;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchFromGitHub, lib
|
||||
, pkgconfig, autoreconfHook
|
||||
, pkg-config, autoreconfHook
|
||||
, gtkVersion ? "3"
|
||||
, gtk2
|
||||
, gtk3
|
||||
@@ -8,16 +8,16 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libayatana-indicator-gtk${gtkVersion}";
|
||||
version = "0.6.3";
|
||||
version = "0.8.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "AyatanaIndicators";
|
||||
repo = "libayatana-indicator";
|
||||
rev = version;
|
||||
sha256 = "1q9wmaw6pckwyrv0s7wkqzm1yrk031pbz4xbr8cwn75ixqyfcb28";
|
||||
sha256 = "1wlqm3pj12vgz587a72widbg0vcmm1klsd2lh3mpzfy20m3vjxhj";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig autoreconfHook ];
|
||||
nativeBuildInputs = [ pkg-config autoreconfHook ];
|
||||
|
||||
buildInputs = [ ayatana-ido ]
|
||||
++ lib.lists.optionals (gtkVersion == "2") [ gtk2 ]
|
||||
@@ -29,8 +29,8 @@ stdenv.mkDerivation rec {
|
||||
description = "Ayatana Indicators Shared Library";
|
||||
homepage = "https://github.com/AyatanaIndicators/libayatana-indicator";
|
||||
changelog = "https://github.com/AyatanaIndicators/libayatana-indicator/blob/${version}/ChangeLog";
|
||||
license = licenses.gpl3;
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = [ maintainers.nickhu ];
|
||||
platforms = platforms.x86_64;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{ stdenv, fetchurl, cmake, pkgconfig, udev, libcec_platform, libraspberrypi ? null }:
|
||||
|
||||
let version = "4.0.5"; in
|
||||
let version = "4.0.7"; in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "libcec";
|
||||
@@ -8,7 +8,7 @@ stdenv.mkDerivation {
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/Pulse-Eight/libcec/archive/libcec-${version}.tar.gz";
|
||||
sha256 = "0hvp33mq0kg544hw20aq3vy5lxf5zid6gxm3qdga7wxw1r1lkmz4";
|
||||
sha256 = "0nii8qh3qrn92g8x3canj4glb2bjn6gc1p3f6hfp59ckd4vjrndw";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig cmake ];
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
From 86fd3be1d31d2e7c09603aa3a8966537ac01bb07 Mon Sep 17 00:00:00 2001
|
||||
From: Maximilian Bosch <maximilian@mbosch.me>
|
||||
Date: Tue, 11 Aug 2020 20:30:16 +0200
|
||||
Subject: [PATCH] Fix RPC compilation when using libtirpc rather than glibc
|
||||
|
||||
---
|
||||
src/block-server.c | 3 +++
|
||||
utils/chop-block-server.c | 3 +++
|
||||
2 files changed, 6 insertions(+)
|
||||
|
||||
diff --git a/src/block-server.c b/src/block-server.c
|
||||
index 3f97417..29b299e 100644
|
||||
--- a/src/block-server.c
|
||||
+++ b/src/block-server.c
|
||||
@@ -18,6 +18,9 @@
|
||||
|
||||
/* Server-side stubs. */
|
||||
|
||||
+#include <rpc/types.h>
|
||||
+#include <rpc/xdr.h>
|
||||
+#include <rpc/auth.h>
|
||||
#include <rpc/svc.h>
|
||||
#include <chop/block-server.h>
|
||||
|
||||
diff --git a/utils/chop-block-server.c b/utils/chop-block-server.c
|
||||
index a2076c0..9462f5d 100644
|
||||
--- a/utils/chop-block-server.c
|
||||
+++ b/utils/chop-block-server.c
|
||||
@@ -19,6 +19,9 @@
|
||||
store, e.g. a GDBM block store, and serves it remotely. A lot of code is
|
||||
borrowed from `chop-archiver.c'. */
|
||||
|
||||
+#include <rpc/types.h>
|
||||
+#include <rpc/xdr.h>
|
||||
+#include <rpc/auth.h>
|
||||
#include <chop/chop-config.h>
|
||||
|
||||
#include <alloca.h>
|
||||
--
|
||||
2.25.4
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{ fetchurl, stdenv, zlib, bzip2, libgcrypt
|
||||
, gdbm, gperf, tdb, gnutls, db, libuuid
|
||||
, lzo, pkgconfig, guile
|
||||
, lzo, pkgconfig, guile, rpcsvc-proto, libtirpc
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -11,16 +11,19 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0fpdyxww41ba52d98blvnf543xvirq1v9xz1i3x1gm9lzlzpmc2g";
|
||||
};
|
||||
|
||||
patches = [ ./gets-undeclared.patch ./size_t.patch ];
|
||||
patches = [ ./gets-undeclared.patch ./size_t.patch ./0001-Fix-RPC-compilation-when-using-libtirpc-rather-than-.patch ];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig gperf ];
|
||||
nativeBuildInputs = [ pkgconfig gperf rpcsvc-proto ];
|
||||
|
||||
NIX_CFLAGS_COMPILE = [ "-I${libtirpc.dev}/include/tirpc" ];
|
||||
NIX_LDFLAGS = [ "-ltirpc" ];
|
||||
|
||||
buildInputs =
|
||||
[ zlib bzip2 lzo
|
||||
libgcrypt
|
||||
gdbm db tdb
|
||||
gnutls libuuid
|
||||
guile
|
||||
guile libtirpc
|
||||
];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
@@ -18,5 +18,6 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.lgpl2;
|
||||
maintainers = [ maintainers.bzizou ];
|
||||
platforms = platforms.linux;
|
||||
broken = true;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
|
||||
"--with-dbi-libdir=${libdbi}/lib"
|
||||
] ++ optionals (libmysqlclient != null) [
|
||||
"--with-mysql"
|
||||
"--with-mysql-incdir=${libmysqlclient}/include/mysql"
|
||||
"--with-mysql-incdir=${getDev libmysqlclient}/include/mysql"
|
||||
"--with-mysql-libdir=${libmysqlclient}/lib/mysql"
|
||||
] ++ optionals (sqlite != null) [
|
||||
"--with-sqlite3"
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.0.6";
|
||||
version = "1.0.7";
|
||||
pname = "libde265";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "strukturag";
|
||||
repo = "libde265";
|
||||
rev = "v${version}";
|
||||
sha256 = "0ipccyavlgf7hfzx1g8bvzg62xq10vcxvwgq70r3z3j6mdvmrzjp";
|
||||
sha256 = "0x7g9771457z49qvzpk4iswfhq018i0mzsflv9gg8if5hjqhfdp0";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||
|
||||
@@ -32,7 +32,7 @@ stdenv.mkDerivation {
|
||||
outputDoc = "dev";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "C++ dynamic ndarray library, with Python exposure.";
|
||||
description = "C++ dynamic ndarray library, with Python exposure";
|
||||
homepage = "http://libdynd.org";
|
||||
license = licenses.bsd2;
|
||||
platforms = platforms.linux;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "erfa";
|
||||
version = "1.7.0";
|
||||
version = "1.7.1";
|
||||
|
||||
buildInputs = [ autoreconfHook ];
|
||||
|
||||
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
||||
owner = "liberfa";
|
||||
repo = "erfa";
|
||||
rev = "v${version}";
|
||||
sha256 = "1z4k2phrw6wwi0kax6ac80jk9c036gi7pmhmg6gaf3lk81k6xz2r";
|
||||
sha256 = "0j7v9y7jsw9vjmhdpksq44ah2af10b9gl1vfm8riw178lvf246wg";
|
||||
};
|
||||
|
||||
configureFlags = [ "--enable-shared" ];
|
||||
|
||||
@@ -11,10 +11,10 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libfido2";
|
||||
version = "1.4.0";
|
||||
version = "1.5.0";
|
||||
src = fetchurl {
|
||||
url = "https://developers.yubico.com/${pname}/Releases/${pname}-${version}.tar.gz";
|
||||
sha256 = "0v1a3n0qljmrp8y9pmnmbsdsy79l3z84qmhyjx50xdsbgnz1z4md";
|
||||
sha256 = "08iizxq3w8mpkwfrfpl59csffc20yz8x398bl3kf23rrr4izk42r";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake pkgconfig ];
|
||||
@@ -22,14 +22,6 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [ hidapi libcbor openssl ]
|
||||
++ stdenv.lib.optionals stdenv.isLinux [ udev ];
|
||||
|
||||
patches = [
|
||||
# make build reproducible
|
||||
(fetchpatch {
|
||||
url = "https://github.com/Yubico/libfido2/commit/e79f7d7996e70d6b2ae9826fce81d61659cab4f6.patch";
|
||||
sha256 = "0jwg69f95qqf0ym24q1ka50d3d3338cyw4fdfzpw4sab0shiaq9v";
|
||||
})
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DUDEV_RULES_DIR=${placeholder "out"}/etc/udev/rules.d"
|
||||
"-DUSE_HIDAPI=1"
|
||||
|
||||
@@ -14,7 +14,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://xiph.org/fishsound/";
|
||||
description = ''libfishsound by itself is designed to handle raw codec streams from a lower level layer such as UDP datagrams. When these codecs are used in files, they are commonly encapsulated in Ogg to produce Ogg FLAC, Speex and Ogg Vorbis files.
|
||||
description = "A simple programming interface for decoding and encoding audio data using Xiph.org codecs (FLAC, Speex and Vorbis)";
|
||||
longDescription = ''libfishsound by itself is designed to handle raw codec streams from a lower level layer such as UDP datagrams. When these codecs are used in files, they are commonly encapsulated in Ogg to produce Ogg FLAC, Speex and Ogg Vorbis files.
|
||||
|
||||
libfishsound is a wrapper around the existing codec libraries and provides a consistent, higher-level programming interface. It has been designed for use in a wide variety of applications; it has no direct dependencies on Ogg encapsulation, though it is most commonly used in conjunction with liboggz to decode or encode FLAC, Speex or Vorbis audio tracks in Ogg files, including Ogg Theora and Annodex.
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
, acl, libcap, libcap_ng, libconfig, systemd, fuse, yajl, libvirt, hivex, db
|
||||
, gmp, readline, file, numactl, xen, libapparmor, jansson
|
||||
, getopt, perlPackages, ocamlPackages
|
||||
, libtirpc
|
||||
, appliance ? null
|
||||
, javaSupport ? false, jdk ? null }:
|
||||
|
||||
@@ -24,6 +25,7 @@ stdenv.mkDerivation rec {
|
||||
cdrkit flex bison qemu pcre augeas libxml2 acl libcap libcap_ng libconfig
|
||||
systemd fuse yajl libvirt gmp readline file hivex db
|
||||
numactl xen libapparmor getopt perlPackages.ModuleBuild
|
||||
libtirpc
|
||||
] ++ (with perlPackages; [ perl libintl_perl GetoptLong SysVirt ])
|
||||
++ (with ocamlPackages; [ ocaml findlib ocamlbuild ocaml_libvirt gettext-stub ounit ])
|
||||
++ stdenv.lib.optional javaSupport jdk;
|
||||
@@ -89,5 +91,7 @@ stdenv.mkDerivation rec {
|
||||
homepage = "https://libguestfs.org/";
|
||||
maintainers = with maintainers; [offline];
|
||||
platforms = platforms.linux;
|
||||
# this is to avoid "output size exceeded"
|
||||
hydraPlatforms = if appliance != null then appliance.meta.hydraPlatforms else platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libde265, x265, libpng, libjpeg }:
|
||||
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libde265, x265, libpng,
|
||||
libjpeg, libaom }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libheif";
|
||||
version = "1.8.0";
|
||||
version = "1.9.1";
|
||||
|
||||
outputs = [ "bin" "out" "dev" "man" ];
|
||||
|
||||
@@ -10,11 +11,12 @@ stdenv.mkDerivation rec {
|
||||
owner = "strukturag";
|
||||
repo = "libheif";
|
||||
rev = "v${version}";
|
||||
sha256 = "15az44qdqp2vncdfv1bzdl30977kvqxcb2bhx4x3q6vcxnm1xfgg";
|
||||
sha256 = "0hjs1i076jmy4ryj8y2zs293wx53kzg38y8i42cbcsqydvsdp6hz";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||
buildInputs = [ libde265 x265 libpng libjpeg ];
|
||||
buildInputs = [ libde265 x265 libpng libjpeg libaom ];
|
||||
# TODO: enable dav1d and rav1e codecs when libheif can find them via pkg-config
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ stdenv.mkDerivation {
|
||||
};
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "http://libipfix.sourceforge.net/";
|
||||
description = "The libipfix C-library implements the IPFIX protocol defined by the IP Flow Information Export working group of the IETF.";
|
||||
description = "The libipfix C-library implements the IPFIX protocol defined by the IP Flow Information Export working group of the IETF";
|
||||
license = licenses.lgpl3;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ lewo ];
|
||||
|
||||
@@ -1,30 +1,18 @@
|
||||
{ stdenv, fetchurl, fetchpatch, cmake, nasm, enableStatic ? false, enableShared ? true }:
|
||||
{ stdenv, fetchFromGitHub, cmake, nasm, enableStatic ? false, enableShared ? true }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
pname = "libjpeg-turbo";
|
||||
version = "2.0.4";
|
||||
version = "2.0.5";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.gz";
|
||||
sha256 = "01ill8bgjyk582wipx7sh7gj2nidylpbzvwhx0wkcm6mxx3qbp9k";
|
||||
src = fetchFromGitHub {
|
||||
owner = "libjpeg-turbo";
|
||||
repo = "libjpeg-turbo";
|
||||
rev = version;
|
||||
sha256 = "0p32yivybxdicm01qa9h1vj91apygzxpvnklrjmbx8z9z2l3qxc9";
|
||||
};
|
||||
|
||||
patches =
|
||||
[
|
||||
# Fixes race in tests that causes "jpegtran-shared-icc" to fail
|
||||
# https://github.com/libjpeg-turbo/libjpeg-turbo/pull/425
|
||||
(fetchpatch {
|
||||
url = "https://github.com/libjpeg-turbo/libjpeg-turbo/commit/a2291b252de1413a13db61b21863ae7aea0946f3.patch";
|
||||
sha256 = "0nc5vcch5h52gpi07h08zf8br58q8x81q2hv871hrn0dinb53vym";
|
||||
})
|
||||
|
||||
(fetchpatch {
|
||||
name = "cve-2020-13790.patch";
|
||||
url = "https://github.com/libjpeg-turbo/libjpeg-turbo/commit/3de15e0c344d.diff";
|
||||
sha256 = "0hm5i6qir5w3zxb0xvqdh4jyvbfg7xnd28arhyfsaclfz9wdb0pb";
|
||||
})
|
||||
] ++
|
||||
stdenv.lib.optional (stdenv.hostPlatform.libc or null == "msvcrt")
|
||||
./mingw-boolean.patch;
|
||||
|
||||
@@ -41,7 +29,7 @@ stdenv.mkDerivation rec {
|
||||
installCheckTarget = "test";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "http://libjpeg-turbo.virtualgl.org/";
|
||||
homepage = "https://libjpeg-turbo.org/";
|
||||
description = "A faster (using SIMD) libjpeg implementation";
|
||||
license = licenses.ijg; # and some parts under other BSD-style licenses
|
||||
maintainers = with maintainers; [ vcunat colemickens ];
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{ stdenv, fetchurl, autoreconfHook, pkgconfig, libzen, zlib }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "20.08";
|
||||
version = "20.09";
|
||||
pname = "libmediainfo";
|
||||
src = fetchurl {
|
||||
url = "https://mediaarea.net/download/source/libmediainfo/${version}/libmediainfo_${version}.tar.xz";
|
||||
sha256 = "19n8h9jq42b6r3dbag77fzwfksfywszmzpi636w87fvc1nqldlqj";
|
||||
sha256 = "15ni9pnch6688m72swwax109a7mg4a08yx75qknrx7qa6dbyhz6h";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||
|
||||
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = {
|
||||
homepage = "https://dev.mysql.com/downloads/connector/cpp/";
|
||||
description = "C++ library for connecting to mysql servers.";
|
||||
description = "C++ library for connecting to mysql servers";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
};
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{ stdenv, fetchFromGitHub, autoreconfHook
|
||||
, asciidoctor, pkgconfig, xmlto, docbook_xsl, docbook_xml_dtd_45, libxslt
|
||||
, json_c, kmod, which, utillinux, systemd, keyutils
|
||||
, json_c, kmod, which, utillinux, udev, keyutils
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
buildInputs =
|
||||
[ json_c kmod utillinux systemd keyutils
|
||||
[ json_c kmod utillinux udev keyutils
|
||||
];
|
||||
|
||||
configureFlags =
|
||||
|
||||
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "http://www.netfilter.org/projects/libnetfilter_acct/";
|
||||
description = "Userspace library providing interface to extended accounting infrastructure.";
|
||||
description = "Userspace library providing interface to extended accounting infrastructure";
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{ stdenv, fetchurl, pkgconfig, libmnl, libnfnetlink }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.0.4";
|
||||
version = "1.0.5";
|
||||
pname = "libnetfilter_queue";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.netfilter.org/projects/libnetfilter_queue/files/${pname}-${version}.tar.bz2";
|
||||
sha256 = "0w7s6g8bikch1m4hnxdakpkwgrkw64ikb6wb4v4zvgyiywrk5yai";
|
||||
sha256 = "1xdra6i4p8jkv943ygjw646qx8df27f7p5852kc06vjx608krzzr";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
@@ -31,10 +31,6 @@ stdenv.mkDerivation rec {
|
||||
url = "https://code.videolan.org/videolan/libplacebo/-/commit/523056828ab86c2f17ea65f432424d48b6fdd389.patch";
|
||||
sha256 = "051vhd0l3yad1fzn5zayi08kqs9an9j8p7m63kgqyfv1ksnydpcs";
|
||||
})
|
||||
(fetchpatch {
|
||||
url = "https://code.videolan.org/videolan/libplacebo/-/commit/82e3be1839379791b58e98eb049415b42888d5b0.patch";
|
||||
sha256 = "0nklj9gfiwkbbj6wfm1ck33hphaxrvzb84c4h2nfj88bapnlm90l";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
|
||||
lzip
|
||||
pkgconfig
|
||||
python3
|
||||
valgrind
|
||||
(stdenv.lib.optionalString (!stdenv.isDarwin) valgrind)
|
||||
libxslt
|
||||
];
|
||||
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "libquotient";
|
||||
version = "0.5.3.2";
|
||||
version = "0.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "quotient-im";
|
||||
repo = "libQuotient";
|
||||
rev = version;
|
||||
sha256 = "0gkwr3yw6k2m0j8cc085b5p2q788rf5nhp1p5hc5d55pc7mci2qs";
|
||||
sha256 = "1wpjrihi2gci3kwq9b3i3avd6bk3x7g22r0n6hvlphapkaf1ig6y";
|
||||
};
|
||||
|
||||
buildInputs = [ qtbase qtmultimedia ];
|
||||
|
||||
@@ -1,25 +1,29 @@
|
||||
{ stdenv, fetchurl, lcms2, pkgconfig }:
|
||||
{ stdenv, fetchFromGitHub, autoreconfHook, lcms2, pkgconfig }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libraw";
|
||||
version = "0.20.0";
|
||||
version = "0.20.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.libraw.org/data/LibRaw-${version}.tar.gz";
|
||||
sha256 = "18wlsvj6c1rv036ph3695kknpgzc3lk2ikgshy8417yfl8ykh2hz";
|
||||
src = fetchFromGitHub {
|
||||
owner = "LibRaw";
|
||||
repo = "LibRaw";
|
||||
rev = version;
|
||||
sha256 = "16nm4r2l5501c9zvz25pzajq5id592jhn068scjxhr8np2cblybc";
|
||||
};
|
||||
|
||||
outputs = [ "out" "lib" "dev" "doc" ];
|
||||
|
||||
propagatedBuildInputs = [ lcms2 ];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||
|
||||
meta = {
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Library for reading RAW files obtained from digital photo cameras (CRW/CR2, NEF, RAF, DNG, and others)";
|
||||
homepage = "https://www.libraw.org/";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ stdenv.mkDerivation {
|
||||
};
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "http://www.libroxml.net/";
|
||||
description = "This library is minimum, easy-to-use, C implementation for xml file parsing.";
|
||||
description = "This library is minimum, easy-to-use, C implementation for xml file parsing";
|
||||
license = licenses.lgpl3;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ mpickering ];
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{ stdenv, fetchurl, glib, libxml2, meson, ninja, pkgconfig, gnome3
|
||||
, gnomeSupport ? true, sqlite, glib-networking, gobject-introspection, vala
|
||||
, libpsl, python3, brotli }:
|
||||
, libpsl, python3, brotli, lib }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libsoup";
|
||||
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
|
||||
"-Dtls_check=false" # glib-networking is a runtime dependency, not a compile-time dependency
|
||||
"-Dgssapi=disabled"
|
||||
"-Dvapi=enabled"
|
||||
"-Dgnome=${if gnomeSupport then "true" else "false"}"
|
||||
"-Dgnome=${lib.boolToString gnomeSupport}"
|
||||
"-Dntlm=disabled"
|
||||
];
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ stdenv.mkDerivation {
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Libstroke, a library for simple gesture recognition";
|
||||
description = "A library for simple gesture recognition";
|
||||
homepage = "https://web.archive.org/web/20161204100704/http://etla.net/libstroke/";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
|
||||
|
||||
@@ -24,7 +24,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = {
|
||||
homepage = "http://libthreadar.sourceforge.net/";
|
||||
description = ''
|
||||
description = "A C++ library that provides several classes to manipulate threads";
|
||||
longDescription = ''
|
||||
Libthreadar is a C++ library providing a small set of C++ classes to manipulate
|
||||
threads in a very simple and efficient way from your C++ code.
|
||||
'';
|
||||
|
||||
@@ -47,7 +47,7 @@ stdenv.mkDerivation {
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/andlabs/libui";
|
||||
description = "Simple and portable (but not inflexible) GUI library in C that uses the native GUI technologies of each platform it supports.";
|
||||
description = "Simple and portable (but not inflexible) GUI library in C that uses the native GUI technologies of each platform it supports";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
|
||||
@@ -28,6 +28,9 @@ stdenv.mkDerivation rec {
|
||||
)
|
||||
'';
|
||||
|
||||
# Doesn't recognize platform flags
|
||||
configurePlatforms = [];
|
||||
|
||||
outputs = [ "out" "bin" "dev" "man" ];
|
||||
|
||||
postInstall =
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
{ stdenv, lib, fetchFromGitHub, autoconf, automake, libtool, pkgconfig, ApplicationServices, CoreServices }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.38.1";
|
||||
version = "1.40.0";
|
||||
pname = "libuv";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0cvabjhi53qw94zyjkqamx0c607ayydfb4f3djx2gj8ab2p7s29n";
|
||||
sha256 = "1hd0x6i80ca3j0c3a7laygzab5qkgxjkz692jwzrsinsfhvbq0pg";
|
||||
};
|
||||
|
||||
postPatch = let
|
||||
@@ -66,7 +66,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = with lib; {
|
||||
description = "A multi-platform support library with a focus on asynchronous I/O";
|
||||
homepage = "https://github.com/libuv/libuv";
|
||||
homepage = "https://libuv.org/";
|
||||
changelog = "https://github.com/libuv/libuv/blob/v${version}/ChangeLog";
|
||||
maintainers = with maintainers; [ cstrahan ];
|
||||
platforms = with platforms; linux ++ darwin;
|
||||
license = with licenses; [ mit isc bsd2 bsd3 cc-by-40 ];
|
||||
|
||||
@@ -7,14 +7,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libva-${lib.optionalString minimal "minimal-"}${version}";
|
||||
version = "2.8.0"; # Also update the hash for libva-utils!
|
||||
version = "2.9.0"; # Also update the hash for libva-utils!
|
||||
|
||||
# update libva-utils and vaapiIntel as well
|
||||
src = fetchFromGitHub {
|
||||
owner = "intel";
|
||||
repo = "libva";
|
||||
rev = version;
|
||||
sha256 = "190cq173jzp5rkrczi8gzbwa0y3xk253v4wd205a5ilfngm7srns";
|
||||
sha256 = "17m8k8fn41vzi1lzh9idf2mn4x73bwlkw60kl5zj396kpw4n1z1r";
|
||||
};
|
||||
|
||||
outputs = [ "dev" "out" ];
|
||||
|
||||
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
||||
owner = "intel";
|
||||
repo = "libva-utils";
|
||||
rev = version;
|
||||
sha256 = "081hw2jnj64bpqwh9p41n5caqzm6dnj1ggnvvc5wrf4m2z1h2bjb";
|
||||
sha256 = "1xylc940ffhqay9lyy48872cfw61ziky8dw21vm69psngfz3zs9n";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ meson ninja pkg-config ];
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
, iproute, iptables, readline, lvm2, utillinux, systemd, libpciaccess, gettext
|
||||
, libtasn1, ebtables, libgcrypt, yajl, pmutils, libcap_ng, libapparmor
|
||||
, dnsmasq, libnl, libpcap, libxslt, xhtml1, numad, numactl, perlPackages
|
||||
, curl, libiconv, gmp, zfs, parted, bridge-utils, dmidecode, glib
|
||||
, curl, libiconv, gmp, zfs, parted, bridge-utils, dmidecode, glib, rpcsvc-proto, libtirpc
|
||||
, enableXen ? false, xen ? null
|
||||
, enableIscsi ? false, openiscsi
|
||||
, enableCeph ? false, ceph
|
||||
@@ -33,10 +33,10 @@ in stdenv.mkDerivation rec {
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper pkgconfig ];
|
||||
nativeBuildInputs = [ makeWrapper pkgconfig rpcsvc-proto ];
|
||||
buildInputs = [
|
||||
libxml2 gnutls perl python2 readline gettext libtasn1 libgcrypt yajl
|
||||
libxslt xhtml1 perlPackages.XMLXPath curl libpcap glib
|
||||
libxslt xhtml1 perlPackages.XMLXPath curl libpcap glib libtirpc
|
||||
] ++ optionals (!buildFromTarball) [
|
||||
libtool autoconf automake
|
||||
] ++ optionals stdenv.isLinux [
|
||||
@@ -76,6 +76,7 @@ in stdenv.mkDerivation rec {
|
||||
"QEMU_BRIDGE_HELPER=/run/wrappers/bin/qemu-bridge-helper"
|
||||
"QEMU_PR_HELPER=/run/libvirt/nix-helpers/qemu-pr-helper"
|
||||
"EBTABLES_PATH=${ebtables}/bin/ebtables-legacy"
|
||||
"CFLAGS=-I${libtirpc.dev}/include/tirpc"
|
||||
"--with-attr"
|
||||
"--with-apparmor"
|
||||
"--with-secdriver-apparmor"
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
, iproute, iptables, readline, lvm2, utillinux, systemd, libpciaccess, gettext
|
||||
, libtasn1, ebtables, libgcrypt, yajl, pmutils, libcap_ng, libapparmor
|
||||
, dnsmasq, libnl, libpcap, libxslt, xhtml1, numad, numactl, perlPackages
|
||||
, curl, libiconv, gmp, zfs, parted, bridge-utils, dmidecode, dbus
|
||||
, curl, libiconv, gmp, zfs, parted, bridge-utils, dmidecode, dbus, libtirpc, rpcsvc-proto, darwin
|
||||
, enableXen ? false, xen ? null
|
||||
, enableIscsi ? false, openiscsi
|
||||
, enableCeph ? false, ceph
|
||||
@@ -17,29 +17,38 @@ let
|
||||
buildFromTarball = stdenv.isDarwin;
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "libvirt";
|
||||
version = "6.3.0";
|
||||
version = "6.6.0";
|
||||
|
||||
src =
|
||||
if buildFromTarball then
|
||||
fetchurl {
|
||||
url = "http://libvirt.org/sources/${pname}-${version}.tar.xz";
|
||||
sha256 = "1xcng497hs1gary3pz3fp590a4r1kqs4d0d8k5p370j0scw981kl";
|
||||
url = "https://libvirt.org/sources/${pname}-${version}.tar.xz";
|
||||
sha256 = "1y8y13zvh820f4b15287wb77wq7ra7kbfnpblzhm1dki5pfjvrcl";
|
||||
}
|
||||
else
|
||||
fetchgit {
|
||||
url = "git://libvirt.org/libvirt.git";
|
||||
url = "https://gitlab.com/libvirt/libvirt.git";
|
||||
rev = "v${version}";
|
||||
sha256 = "129b3p72jlb40dsidak3nvpssv75xx2v99y63gzp5k074fp8y8x4";
|
||||
sha256 = "09hsbm2qmx0jfmm418rf5lx374g85bwgg0kzlga62x5180jhsssn";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper pkgconfig docutils ] ++ optionals (!buildFromTarball) [ autoreconfHook ];
|
||||
nativeBuildInputs = [
|
||||
makeWrapper pkgconfig docutils
|
||||
] ++ optionals (!buildFromTarball) [
|
||||
autoreconfHook
|
||||
] ++ optional (!stdenv.isDarwin) [
|
||||
rpcsvc-proto
|
||||
] ++ optionals stdenv.isDarwin [
|
||||
darwin.developer_cmds # needed for rpcgen
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libxml2 gnutls perl python2 readline gettext libtasn1 libgcrypt yajl
|
||||
libxslt xhtml1 perlPackages.XMLXPath curl libpcap glib dbus
|
||||
] ++ optionals stdenv.isLinux [
|
||||
libpciaccess lvm2 utillinux systemd libnl numad zfs
|
||||
libapparmor libcap_ng numactl attr parted
|
||||
libapparmor libcap_ng numactl attr parted libtirpc
|
||||
] ++ optionals (enableXen && stdenv.isLinux && stdenv.isx86_64) [
|
||||
xen
|
||||
] ++ optionals enableIscsi [
|
||||
@@ -65,7 +74,7 @@ in stdenv.mkDerivation rec {
|
||||
dontAddDisableDepTrack = true;
|
||||
|
||||
configureFlags = [
|
||||
"--with-runstatedir=/run" # TODO: remove when autoconf 1.70 is released
|
||||
"--with-runstatedir=/run" # TODO: remove when autoconf 2.70 is released
|
||||
"--localstatedir=/var"
|
||||
"--sysconfdir=/var/lib"
|
||||
"--with-libpcap"
|
||||
@@ -80,6 +89,7 @@ in stdenv.mkDerivation rec {
|
||||
"QEMU_BRIDGE_HELPER=/run/wrappers/bin/qemu-bridge-helper"
|
||||
"QEMU_PR_HELPER=/run/libvirt/nix-helpers/qemu-pr-helper"
|
||||
"EBTABLES_PATH=${ebtables}/bin/ebtables-legacy"
|
||||
"CFLAGS=-I${libtirpc.dev}/include/tirpc"
|
||||
"--with-attr"
|
||||
"--with-apparmor"
|
||||
"--with-secdriver-apparmor"
|
||||
@@ -124,10 +134,8 @@ in stdenv.mkDerivation rec {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-fno-stack-protector";
|
||||
|
||||
meta = {
|
||||
homepage = "http://libvirt.org/";
|
||||
homepage = "https://libvirt.org/";
|
||||
repositories.git = "git://libvirt.org/libvirt.git";
|
||||
description = ''
|
||||
A toolkit to interact with the virtualization capabilities of recent
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user