Merge branch 'master' into staging
* master: (26 commits) python.pkgs.cairocffi: update tests for Cairo 1.15.12 python.pkgs.cairocffi: 0.8.0 -> 0.8.1 freecell-solver: fix build perlPackages.CPANPLUS: restore build inputs removed in #41394 Fix GHCJS 8.4/8.2 in sandboxed builds (#41411) dockerTools.pullImage: expose image* attributes (#41366) rust: disable tests on darwin python.pkgs.detox: 0.11 -> 0.12 certbot: disable check on darwin freeimage: fix build with glibc 2.27 shadowsocks-libev: supports darwin (#41421) pythonPackages.jira: fix build (#41419) SDL: propagate libiconv schema2ldif: Init at 1.3 nixos/exim: Add unit restart trigger (#41418) Add myself as maintainer for dnsdist Add myself as maintainer synapse-bt: init at 2018-06-04 (#41402) skim: 0.3.2 -> 0.4.0 (#41417) ctags: fix source url (#41382) ...
This commit is contained in:
commit
4869ddf883
|
@ -58,6 +58,11 @@
|
||||||
github = "DamienCassou";
|
github = "DamienCassou";
|
||||||
name = "Damien Cassou";
|
name = "Damien Cassou";
|
||||||
};
|
};
|
||||||
|
das_j = {
|
||||||
|
email = "janne@hess.ooo";
|
||||||
|
github = "dasJ";
|
||||||
|
name = "Janne Heß";
|
||||||
|
};
|
||||||
DerGuteMoritz = {
|
DerGuteMoritz = {
|
||||||
email = "moritz@twoticketsplease.de";
|
email = "moritz@twoticketsplease.de";
|
||||||
github = "DerGuteMoritz";
|
github = "DerGuteMoritz";
|
||||||
|
|
|
@ -94,6 +94,7 @@ in
|
||||||
systemd.services.exim = {
|
systemd.services.exim = {
|
||||||
description = "Exim Mail Daemon";
|
description = "Exim Mail Daemon";
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
restartTriggers = [ config.environment.etc."exim.conf".source ];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
ExecStart = "${exim}/bin/exim -bdf -q30m";
|
ExecStart = "${exim}/bin/exim -bdf -q30m";
|
||||||
ExecReload = "${coreutils}/bin/kill -HUP $MAINPID";
|
ExecReload = "${coreutils}/bin/kill -HUP $MAINPID";
|
||||||
|
|
|
@ -276,12 +276,12 @@ in
|
||||||
|
|
||||||
idea-community = buildIdea rec {
|
idea-community = buildIdea rec {
|
||||||
name = "idea-community-${version}";
|
name = "idea-community-${version}";
|
||||||
version = "2018.1.3"; /* updated by script */
|
version = "2018.1.4"; /* updated by script */
|
||||||
description = "Integrated Development Environment (IDE) by Jetbrains, community edition";
|
description = "Integrated Development Environment (IDE) by Jetbrains, community edition";
|
||||||
license = stdenv.lib.licenses.asl20;
|
license = stdenv.lib.licenses.asl20;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://download.jetbrains.com/idea/ideaIC-${version}.tar.gz";
|
url = "https://download.jetbrains.com/idea/ideaIC-${version}.tar.gz";
|
||||||
sha256 = "0ws5s8bvjpz60pdyak3vb22x27qi00ajxx18wia1hql8831gsk3m"; /* updated by script */
|
sha256 = "1qb425wg4690474g348yizhkcqcgigz2synp4blcfv4p0pg79ri6"; /* updated by script */
|
||||||
};
|
};
|
||||||
wmClass = "jetbrains-idea-ce";
|
wmClass = "jetbrains-idea-ce";
|
||||||
update-channel = "IDEA_Release";
|
update-channel = "IDEA_Release";
|
||||||
|
@ -289,12 +289,12 @@ in
|
||||||
|
|
||||||
idea-ultimate = buildIdea rec {
|
idea-ultimate = buildIdea rec {
|
||||||
name = "idea-ultimate-${version}";
|
name = "idea-ultimate-${version}";
|
||||||
version = "2018.1.3"; /* updated by script */
|
version = "2018.1.4"; /* updated by script */
|
||||||
description = "Integrated Development Environment (IDE) by Jetbrains, requires paid license";
|
description = "Integrated Development Environment (IDE) by Jetbrains, requires paid license";
|
||||||
license = stdenv.lib.licenses.unfree;
|
license = stdenv.lib.licenses.unfree;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://download.jetbrains.com/idea/ideaIU-${version}-no-jdk.tar.gz";
|
url = "https://download.jetbrains.com/idea/ideaIU-${version}-no-jdk.tar.gz";
|
||||||
sha256 = "14h71x3jidwiwv73g48f6bd0y4p3s33jb4wdr5grdhm677pqb702"; /* updated by script */
|
sha256 = "0jn771z09bscnk283kwrki0zyzhh4v4n6mr2swbd0ccs9v12dx71"; /* updated by script */
|
||||||
};
|
};
|
||||||
wmClass = "jetbrains-idea";
|
wmClass = "jetbrains-idea";
|
||||||
update-channel = "IDEA_Release";
|
update-channel = "IDEA_Release";
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, fetchpatch, pkgconfig, libtool
|
{ lib, stdenv, fetchFromGitHub, fetchpatch, pkgconfig, libtool
|
||||||
, bzip2, zlib, libX11, libXext, libXt, fontconfig, freetype, ghostscript, libjpeg
|
, bzip2, zlib, libX11, libXext, libXt, fontconfig, freetype, ghostscript, libjpeg
|
||||||
, lcms2, openexr, libpng, librsvg, libtiff, libxml2, openjpeg, libwebp
|
, lcms2, openexr, libpng, librsvg, libtiff, libxml2, openjpeg, libwebp, fftw
|
||||||
, ApplicationServices
|
, ApplicationServices
|
||||||
, buildPlatform, hostPlatform
|
, buildPlatform, hostPlatform
|
||||||
}:
|
}:
|
||||||
|
@ -73,7 +73,7 @@ stdenv.mkDerivation rec {
|
||||||
++ lib.optional stdenv.isDarwin ApplicationServices;
|
++ lib.optional stdenv.isDarwin ApplicationServices;
|
||||||
|
|
||||||
propagatedBuildInputs =
|
propagatedBuildInputs =
|
||||||
[ bzip2 freetype libjpeg lcms2 ]
|
[ bzip2 freetype libjpeg lcms2 fftw ]
|
||||||
++ lib.optionals (!hostPlatform.isMinGW)
|
++ lib.optionals (!hostPlatform.isMinGW)
|
||||||
[ libX11 libXext libXt libwebp ]
|
[ libX11 libXext libXt libwebp ]
|
||||||
;
|
;
|
||||||
|
@ -101,5 +101,6 @@ stdenv.mkDerivation rec {
|
||||||
description = "A software suite to create, edit, compose, or convert bitmap images";
|
description = "A software suite to create, edit, compose, or convert bitmap images";
|
||||||
platforms = platforms.linux ++ platforms.darwin;
|
platforms = platforms.linux ++ platforms.darwin;
|
||||||
maintainers = with maintainers; [ the-kenny wkennington ];
|
maintainers = with maintainers; [ the-kenny wkennington ];
|
||||||
|
license = licenses.asl20;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,19 +1,23 @@
|
||||||
{ stdenv, fetchurl, cmake, coin3d, xercesc, ode, eigen, qt4, opencascade, gts
|
{ stdenv, fetchurl, cmake, coin3d, xercesc, ode, eigen, qt4, opencascade, gts
|
||||||
, boost, zlib, python27Packages, swig, gfortran, soqt, libf2c, makeWrapper, makeDesktopItem }:
|
, hdf5, vtk, medfile, boost, zlib, python27Packages, swig, gfortran
|
||||||
|
, soqt, libf2c, makeWrapper, makeDesktopItem
|
||||||
|
, mpi ? null }:
|
||||||
|
|
||||||
|
assert mpi != null;
|
||||||
|
|
||||||
let
|
let
|
||||||
pythonPackages = python27Packages;
|
pythonPackages = python27Packages;
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
name = "freecad-${version}";
|
name = "freecad-${version}";
|
||||||
version = "0.16.6712";
|
version = "0.17";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/FreeCAD/FreeCAD/archive/${version}.tar.gz";
|
url = "https://github.com/FreeCAD/FreeCAD/archive/${version}.tar.gz";
|
||||||
sha256 = "14hs26gvv7gbg9misxq34v4nrds2sbxjhj4yyw5kq3zbvl517alp";
|
sha256 = "1yv6abdzlpn4wxy315943xwrnbywxqfgkjib37qwfvbb8y9p60df";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = with pythonPackages; [ cmake coin3d xercesc ode eigen qt4 opencascade gts boost
|
buildInputs = with pythonPackages; [ cmake coin3d xercesc ode eigen qt4 opencascade gts boost
|
||||||
zlib python swig gfortran soqt libf2c makeWrapper matplotlib
|
zlib python swig gfortran soqt libf2c makeWrapper matplotlib mpi vtk hdf5 medfile
|
||||||
pycollada pyside pysideShiboken pysideTools pivy
|
pycollada pyside pysideShiboken pysideTools pivy
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,27 @@
|
||||||
|
{ stdenv, fetchFromGitHub, rustPlatform, pkgconfig, openssl }:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
name = "synapse-bt-unstable-${version}";
|
||||||
|
version = "2018-06-04";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "Luminarys";
|
||||||
|
repo = "synapse";
|
||||||
|
rev = "ec8f23a14af21426ab0c4f8953dd954f747850ab";
|
||||||
|
sha256 = "0d1rrwnk333zz9g8s40i75xgdkpz6a1j01ajsh32yvzvbi045zkw";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoSha256 = "1psrmgf6ddzqwx7gf301rx84asfnvxpsvkx2fan453v65819k960";
|
||||||
|
|
||||||
|
buildInputs = [ pkgconfig openssl ];
|
||||||
|
|
||||||
|
cargoBuildFlags = [ "--all" ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Flexible and fast BitTorrent daemon";
|
||||||
|
homepage = https://synapse-bt.org/;
|
||||||
|
license = licenses.isc;
|
||||||
|
maintainers = with maintainers; [ dywedir ];
|
||||||
|
platforms = platforms.all;
|
||||||
|
};
|
||||||
|
}
|
|
@ -47,6 +47,8 @@ rec {
|
||||||
}:
|
}:
|
||||||
|
|
||||||
runCommand name {
|
runCommand name {
|
||||||
|
inherit imageName imageDigest;
|
||||||
|
imageTag = finalImageTag;
|
||||||
impureEnvVars = pkgs.stdenv.lib.fetchers.proxyImpureEnvVars;
|
impureEnvVars = pkgs.stdenv.lib.fetchers.proxyImpureEnvVars;
|
||||||
outputHashMode = "flat";
|
outputHashMode = "flat";
|
||||||
outputHashAlgo = "sha256";
|
outputHashAlgo = "sha256";
|
||||||
|
|
|
@ -6,6 +6,8 @@
|
||||||
, cabal-install
|
, cabal-install
|
||||||
, gmp
|
, gmp
|
||||||
, runCommand
|
, runCommand
|
||||||
|
, lib
|
||||||
|
, stdenv
|
||||||
|
|
||||||
, ghc
|
, ghc
|
||||||
, happy
|
, happy
|
||||||
|
@ -20,15 +22,18 @@ runCommand "configured-ghcjs-src" {
|
||||||
autoconf
|
autoconf
|
||||||
automake
|
automake
|
||||||
python3
|
python3
|
||||||
gcc
|
|
||||||
ghc
|
ghc
|
||||||
happy
|
happy
|
||||||
alex
|
alex
|
||||||
cabal-install
|
cabal-install
|
||||||
|
] ++ lib.optionals stdenv.isDarwin [
|
||||||
|
gcc # https://github.com/ghcjs/ghcjs/issues/663
|
||||||
];
|
];
|
||||||
inherit ghcjsSrc;
|
inherit ghcjsSrc;
|
||||||
} ''
|
} ''
|
||||||
export HOME=$(pwd)
|
export HOME=$(pwd)
|
||||||
|
mkdir $HOME/.cabal
|
||||||
|
touch $HOME/.cabal/config
|
||||||
cp -r "$ghcjsSrc" "$out"
|
cp -r "$ghcjsSrc" "$out"
|
||||||
chmod -R +w "$out"
|
chmod -R +w "$out"
|
||||||
cd "$out"
|
cd "$out"
|
||||||
|
|
|
@ -50,13 +50,10 @@ let
|
||||||
};
|
};
|
||||||
|
|
||||||
bootGhcjs = haskellLib.justStaticExecutables passthru.bootPkgs.ghcjs;
|
bootGhcjs = haskellLib.justStaticExecutables passthru.bootPkgs.ghcjs;
|
||||||
libexec =
|
libexec = "${bootGhcjs}/libexec/${builtins.replaceStrings ["darwin"] ["osx"] stdenv.system}-${passthru.bootPkgs.ghc.name}/${bootGhcjs.name}";
|
||||||
if builtins.compareVersions bootGhcjs.version "8.3" <= 0
|
|
||||||
then "${bootGhcjs}/bin"
|
|
||||||
else "${bootGhcjs}/libexec/${builtins.replaceStrings ["darwin"] ["osx"] stdenv.system}-${passthru.bootPkgs.ghc.name}/${bootGhcjs.name}";
|
|
||||||
|
|
||||||
in stdenv.mkDerivation {
|
in stdenv.mkDerivation {
|
||||||
name = "ghcjs";
|
name = bootGhcjs.name;
|
||||||
src = passthru.configuredSrc;
|
src = passthru.configuredSrc;
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
bootGhcjs
|
bootGhcjs
|
||||||
|
@ -73,6 +70,8 @@ in stdenv.mkDerivation {
|
||||||
phases = ["unpackPhase" "buildPhase"];
|
phases = ["unpackPhase" "buildPhase"];
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
export HOME=$TMP
|
export HOME=$TMP
|
||||||
|
mkdir $HOME/.cabal
|
||||||
|
touch $HOME/.cabal/config
|
||||||
cd lib/boot
|
cd lib/boot
|
||||||
|
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
|
|
|
@ -10,7 +10,11 @@
|
||||||
, targets
|
, targets
|
||||||
, targetPatches
|
, targetPatches
|
||||||
, targetToolchains
|
, targetToolchains
|
||||||
, doCheck ? true
|
|
||||||
|
# Tests frequently break on Darwin
|
||||||
|
# See the rust issue: https://github.com/rust-lang/rust/issues/51006
|
||||||
|
, doCheck ? (!stdenv.isDarwin)
|
||||||
|
|
||||||
, broken ? false
|
, broken ? false
|
||||||
, buildPlatform, hostPlatform
|
, buildPlatform, hostPlatform
|
||||||
} @ args:
|
} @ args:
|
||||||
|
|
|
@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ ]
|
propagatedBuildInputs = [ libiconv ]
|
||||||
++ optionals x11Support [ libXext libICE libXrandr ]
|
++ optionals x11Support [ libXext libICE libXrandr ]
|
||||||
++ optional stdenv.isLinux libcap
|
++ optional stdenv.isLinux libcap
|
||||||
++ optionals openglSupport [ libGL libGLU ]
|
++ optionals openglSupport [ libGL libGLU ]
|
||||||
|
@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
|
||||||
++ optional pulseaudioSupport libpulseaudio
|
++ optional pulseaudioSupport libpulseaudio
|
||||||
++ optional stdenv.isDarwin Cocoa;
|
++ optional stdenv.isDarwin Cocoa;
|
||||||
|
|
||||||
buildInputs = [ libiconv ]
|
buildInputs = [ ]
|
||||||
++ optional (!hostPlatform.isMinGW) audiofile
|
++ optional (!hostPlatform.isMinGW) audiofile
|
||||||
++ optionals stdenv.isDarwin [ AudioUnit CoreAudio CoreServices Kernel OpenGL ];
|
++ optionals stdenv.isDarwin [ AudioUnit CoreAudio CoreServices Kernel OpenGL ];
|
||||||
|
|
||||||
|
@ -119,6 +119,8 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
passthru = { inherit openglSupport; };
|
passthru = { inherit openglSupport; };
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A cross-platform multimedia library";
|
description = "A cross-platform multimedia library";
|
||||||
homepage = "http://www.libsdl.org/";
|
homepage = "http://www.libsdl.org/";
|
||||||
|
|
|
@ -19,6 +19,10 @@ stdenv.mkDerivation {
|
||||||
url = patchURL + "/Fix-CVE-2016-5684.patch";
|
url = patchURL + "/Fix-CVE-2016-5684.patch";
|
||||||
sha256 = "14ffgqbnwg28r6sjvm3z89zbnnm9ghbc81hdhrzxlyk3vwvd6cw3";
|
sha256 = "14ffgqbnwg28r6sjvm3z89zbnnm9ghbc81hdhrzxlyk3vwvd6cw3";
|
||||||
})
|
})
|
||||||
|
(fetchurl {
|
||||||
|
url = https://raw.githubusercontent.com/buildroot/buildroot/2018.05/package/libfreeimage/0005-Manage-powf64-with-glibc.patch;
|
||||||
|
sha256 = "1lis479ad5cfkhqm044nk4x97wfwm3hry3bvij1w5xkndnlfppc2";
|
||||||
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [ unzip ] ++ stdenv.lib.optional stdenv.isDarwin darwin.cctools;
|
buildInputs = [ unzip ] ++ stdenv.lib.optional stdenv.isDarwin darwin.cctools;
|
||||||
|
@ -57,6 +61,8 @@ stdenv.mkDerivation {
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = "-Wno-narrowing";
|
NIX_CFLAGS_COMPILE = "-Wno-narrowing";
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Open Source library for accessing popular graphics image file formats";
|
description = "Open Source library for accessing popular graphics image file formats";
|
||||||
homepage = http://freeimage.sourceforge.net/;
|
homepage = http://freeimage.sourceforge.net/;
|
||||||
|
|
|
@ -0,0 +1,24 @@
|
||||||
|
{ stdenv, fetchurl, cmake, hdf5 }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "medfile-${version}";
|
||||||
|
version = "3.3.1";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://files.salome-platform.org/Salome/other/med-${version}.tar.gz";
|
||||||
|
sha256 = "1215sal10xp6xirgggdszay2bmx0sxhn9pgh7x0wg2w32gw1wqyx";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ cmake hdf5 ];
|
||||||
|
|
||||||
|
checkPhase = "make test";
|
||||||
|
|
||||||
|
postInstall = "rm -r $out/bin/testc";
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Library to read and write MED files";
|
||||||
|
homepage = http://salome-platform.org/;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
license = licenses.lgpl3Plus;
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,24 @@
|
||||||
|
diff --git a/cairocffi/test_cairo.py b/cairocffi/test_cairo.py
|
||||||
|
index 1588349..5452910 100644
|
||||||
|
--- a/cairocffi/test_cairo.py
|
||||||
|
+++ b/cairocffi/test_cairo.py
|
||||||
|
@@ -292,7 +292,8 @@ def test_pdf_surface():
|
||||||
|
pdf_bytes = file_obj.getvalue()
|
||||||
|
assert pdf_bytes.startswith(b'%PDF')
|
||||||
|
assert b'/MediaBox [ 0 0 123 432 ]' in pdf_bytes
|
||||||
|
- assert pdf_bytes.count(b'/Type /Page\n') == 1
|
||||||
|
+ assert pdf_bytes.count(b'/Type /Pages') == 1
|
||||||
|
+ assert pdf_bytes.count(b'/Type /Page') == 2
|
||||||
|
|
||||||
|
file_obj = io.BytesIO()
|
||||||
|
surface = PDFSurface(file_obj, 1, 1)
|
||||||
|
@@ -306,7 +307,8 @@ def test_pdf_surface():
|
||||||
|
assert b'/MediaBox [ 0 0 1 1 ]' not in pdf_bytes
|
||||||
|
assert b'/MediaBox [ 0 0 12 100 ]' in pdf_bytes
|
||||||
|
assert b'/MediaBox [ 0 0 42 700 ]' in pdf_bytes
|
||||||
|
- assert pdf_bytes.count(b'/Type /Page\n') == 2
|
||||||
|
+ assert pdf_bytes.count(b'/Type /Pages') == 1
|
||||||
|
+ assert pdf_bytes.count(b'/Type /Page') == 3
|
||||||
|
|
||||||
|
|
||||||
|
def test_svg_surface():
|
|
@ -16,11 +16,11 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "cairocffi";
|
pname = "cairocffi";
|
||||||
version = "0.8.0";
|
version = "0.8.1";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "0i9m3p39g9wrkpjvpawch2qmnmm3cnim7niz3nmmbcp2hrkixwk5";
|
sha256 = "0y373vafv7q35msg7gqdn7niifr3j4j4n070hflxshahs59irss7";
|
||||||
};
|
};
|
||||||
|
|
||||||
LC_ALL = "en_US.UTF-8";
|
LC_ALL = "en_US.UTF-8";
|
||||||
|
@ -47,6 +47,7 @@ buildPythonPackage rec {
|
||||||
gdk_pixbuf = gdk_pixbuf.out;
|
gdk_pixbuf = gdk_pixbuf.out;
|
||||||
})
|
})
|
||||||
./fix_test_scaled_font.patch
|
./fix_test_scaled_font.patch
|
||||||
|
./cairocffi-0.8.1-cairo-1.15.12.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
|
@ -3,11 +3,11 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "detox";
|
pname = "detox";
|
||||||
version = "0.11";
|
version = "0.12";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "4719ca48c4ea5ffd908b1bc3d5d1b593b41e71dee17180d58d8a3e7e8f588d45";
|
sha256 = "06svvkszg6xlg0fr471smn4rmpfga960d6qqsyhyiwa48k59n4gk";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ pytest ];
|
buildInputs = [ pytest ];
|
||||||
|
|
|
@ -1,29 +1,35 @@
|
||||||
{ lib, buildPythonPackage, fetchPypi, isPy3k
|
{ lib, buildPythonPackage, fetchPypi, isPy3k
|
||||||
, pytest, pytestrunner, pbr, glibcLocales , pytestcov
|
, pytest, pytestrunner, pbr, glibcLocales , pytestcov
|
||||||
, requests, requests_oauthlib, requests_toolbelt, defusedxml }:
|
, requests, requests_oauthlib, requests_toolbelt, defusedxml
|
||||||
|
, ipython
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "jira";
|
pname = "jira";
|
||||||
version = "1.0.15";
|
version = "1.0.15";
|
||||||
|
|
||||||
|
PBR_VERSION = version;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "20108a1d5b0dd058d5d4e0047f2d09ee06aaa413b22ca4d5c249e86167417fe8";
|
sha256 = "20108a1d5b0dd058d5d4e0047f2d09ee06aaa413b22ca4d5c249e86167417fe8";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ glibcLocales pytest pytestcov pytestrunner pbr ];
|
buildInputs = [ glibcLocales pytest pytestcov pytestrunner pbr ];
|
||||||
propagatedBuildInputs = [ requests requests_oauthlib requests_toolbelt defusedxml ];
|
propagatedBuildInputs = [ requests requests_oauthlib requests_toolbelt defusedxml pbr ipython ];
|
||||||
|
|
||||||
|
# impure tests because of connectivity attempts to jira servers
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
patches = [ ./sphinx-fix.patch ];
|
||||||
|
|
||||||
LC_ALL = "en_US.utf8";
|
LC_ALL = "en_US.utf8";
|
||||||
|
|
||||||
disabled = !isPy3k;
|
disabled = !isPy3k;
|
||||||
|
|
||||||
# no tests in release tarball
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "This library eases the use of the JIRA REST API from Python.";
|
description = "This library eases the use of the JIRA REST API from Python.";
|
||||||
license = licenses.bsd2;
|
license = licenses.bsd2;
|
||||||
maintainers = with maintainers; [ globin ];
|
maintainers = with maintainers; [ globin ma27 ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
diff --git a/setup.py b/setup.py
|
||||||
|
index c49a24d..31aeec2 100644
|
||||||
|
--- a/setup.py
|
||||||
|
+++ b/setup.py
|
||||||
|
@@ -11,5 +11,5 @@ except ImportError:
|
||||||
|
|
||||||
|
|
||||||
|
setuptools.setup(
|
||||||
|
- setup_requires=['pbr>=3.0.0', 'setuptools>=17.1', 'pytest-runner', 'sphinx>=1.6.5'],
|
||||||
|
+ setup_requires=['pbr>=3.0.0', 'setuptools>=17.1', 'pytest-runner'],
|
||||||
|
pbr=True)
|
|
@ -5,7 +5,7 @@ stdenv.mkDerivation rec {
|
||||||
revision = "816";
|
revision = "816";
|
||||||
|
|
||||||
src = fetchsvn {
|
src = fetchsvn {
|
||||||
url = "https://ctags.svn.sourceforge.net/svnroot/ctags/trunk";
|
url = https://svn.code.sf.net/p/ctags/code/trunk;
|
||||||
rev = revision;
|
rev = revision;
|
||||||
sha256 = "0jmbkrmscbl64j71qffcc39x005jrmphx8kirs1g2ws44wil39hf";
|
sha256 = "0jmbkrmscbl64j71qffcc39x005jrmphx8kirs1g2ws44wil39hf";
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{ stdenv, fetchurl, pkgconfig, cmake
|
{ stdenv, fetchurl, pkgconfig, cmake
|
||||||
, perl, gmp, libtap, gperf
|
, perl, gmp, libtap, gperf
|
||||||
, perlPackages, python3Packages }:
|
, perlPackages, python3 }:
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
stdenv.mkDerivation rec{
|
stdenv.mkDerivation rec{
|
||||||
|
@ -13,11 +13,20 @@ stdenv.mkDerivation rec{
|
||||||
sha256 = "1cmaib69pijmcpvgjvrdry8j4xys8l906l80b8z21vvyhdwrfdnn";
|
sha256 = "1cmaib69pijmcpvgjvrdry8j4xys8l906l80b8z21vvyhdwrfdnn";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [
|
||||||
buildInputs = [ cmake perl gmp libtap gperf
|
cmake perl pkgconfig
|
||||||
perlPackages.TemplateToolkit perlPackages.StringShellQuote
|
] ++ (with perlPackages; TaskFreecellSolverTesting.buildInputs ++ [
|
||||||
perlPackages.GamesSolitaireVerify perlPackages.TaskFreecellSolverTesting
|
GamesSolitaireVerify StringShellQuote TaskFreecellSolverTesting TemplateToolkit
|
||||||
python3Packages.python python3Packages.random2 ];
|
]);
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
gmp libtap gperf
|
||||||
|
python3 python3.pkgs.random2
|
||||||
|
];
|
||||||
|
|
||||||
|
# "ninja t/CMakeFiles/delta-states-test.t.exe.dir/__/delta_states.c.o" fails
|
||||||
|
# to depend on the generated "is_king.h".
|
||||||
|
enableParallelBuilding = false;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A FreeCell automatic solver";
|
description = "A FreeCell automatic solver";
|
||||||
|
|
|
@ -30,5 +30,6 @@
|
||||||
description = "DNS Loadbalancer";
|
description = "DNS Loadbalancer";
|
||||||
homepage = "https://dnsdist.org";
|
homepage = "https://dnsdist.org";
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
|
maintainers = with maintainers; [ das_j ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -42,6 +42,8 @@ pythonPackages.buildPythonApplication rec {
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
doCheck = !stdenv.isDarwin; # On Hydra Darwin tests fail with "Too many open files".
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = src.meta.homepage;
|
homepage = src.meta.homepage;
|
||||||
description = "ACME client that can obtain certs and extensibly update server configurations";
|
description = "ACME client that can obtain certs and extensibly update server configurations";
|
||||||
|
|
|
@ -2,18 +2,18 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
name = "skim-${version}";
|
name = "skim-${version}";
|
||||||
version = "0.3.2";
|
version = "0.4.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "lotabout";
|
owner = "lotabout";
|
||||||
repo = "skim";
|
repo = "skim";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0spkkgjjrch1grb0115rn0wxzsh8pzmm96a7j69zy5pc1il2m5lp";
|
sha256 = "067ds1sdi9ya1yqz9saczj1vml8arwzd46w35gmvdxgmxx4wmihs";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "out" "vim" ];
|
outputs = [ "out" "vim" ];
|
||||||
|
|
||||||
cargoSha256 = "0zbjnii8r41ih2m2vqhm3wdiwgi13kipvxx75sg4vm4maf4wpmhv";
|
cargoSha256 = "18lgjh1b1wfm9xsd6y6slfj1i3dwrvzkzszdzk3lmqx1f8515gx7";
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
sed -i -e "s|expand('<sfile>:h:h')|'$out'|" plugin/skim.vim
|
sed -i -e "s|expand('<sfile>:h:h')|'$out'|" plugin/skim.vim
|
||||||
|
@ -37,7 +37,7 @@ rustPlatform.buildRustPackage rec {
|
||||||
description = "Fuzzy Finder in rust!";
|
description = "Fuzzy Finder in rust!";
|
||||||
homepage = https://github.com/lotabout/skim;
|
homepage = https://github.com/lotabout/skim;
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = [];
|
maintainers = with maintainers; [ dywedir ];
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,6 +24,19 @@ stdenv.mkDerivation rec {
|
||||||
cp lib/* $out/lib
|
cp lib/* $out/lib
|
||||||
chmod +x $out/bin/*
|
chmod +x $out/bin/*
|
||||||
mv $out/pkgconfig $out/lib
|
mv $out/pkgconfig $out/lib
|
||||||
|
|
||||||
|
${stdenv.lib.optionalString stdenv.isDarwin ''
|
||||||
|
install_name_tool -change libcork.dylib $out/lib/libcork.dylib $out/lib/libipset.dylib
|
||||||
|
install_name_tool -change libbloom.dylib $out/lib/libbloom.dylib $out/lib/libipset.dylib
|
||||||
|
|
||||||
|
for exe in $out/bin/*; do
|
||||||
|
install_name_tool -change libmbedtls.dylib ${mbedtls}/lib/libmbedtls.dylib $exe
|
||||||
|
install_name_tool -change libmbedcrypto.dylib ${mbedtls}/lib/libmbedcrypto.dylib $exe
|
||||||
|
install_name_tool -change libcork.dylib $out/lib/libcork.dylib $exe
|
||||||
|
install_name_tool -change libipset.dylib $out/lib/libipset.dylib $exe
|
||||||
|
install_name_tool -change libbloom.dylib $out/lib/libbloom.dylib $exe
|
||||||
|
done
|
||||||
|
''}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
@ -35,6 +48,6 @@ stdenv.mkDerivation rec {
|
||||||
homepage = https://github.com/shadowsocks/shadowsocks-libev;
|
homepage = https://github.com/shadowsocks/shadowsocks-libev;
|
||||||
license = licenses.gpl3Plus;
|
license = licenses.gpl3Plus;
|
||||||
maintainers = [ maintainers.nfjinjing ];
|
maintainers = [ maintainers.nfjinjing ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,31 @@
|
||||||
|
{ stdenv, fetchurl, makeWrapper, perl, perlPackages }: stdenv.mkDerivation rec {
|
||||||
|
name = "schema2ldif-${version}";
|
||||||
|
version = "1.3";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://repos.fusiondirectory.org/sources/schema2ldif/schema2ldif-${version}.tar.gz";
|
||||||
|
sha256 = "00cd9xx9g0mnnfn5lvay3vg166z84jla0ya1x34ljdc8bflxsr9a";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ perl ];
|
||||||
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/bin $out/share/man/man1
|
||||||
|
|
||||||
|
cp bin/{schema2ldif,ldap-schema-manager} $out/bin
|
||||||
|
gzip -c man/schema2ldif.1 > $out/share/man/man1/schema2ldif.1.gz
|
||||||
|
gzip -c man/ldap-schema-manager.1 > $out/share/man/man1/ldap-schema-manager.1.gz
|
||||||
|
|
||||||
|
wrapProgram $out/bin/schema2ldif \
|
||||||
|
--prefix PERL5PATH : "${stdenv.lib.makePerlPath [ perlPackages.GetoptLong perlPackages.PodUsage ]}"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Utilities to manage schema in .schema and .ldif format";
|
||||||
|
homepage = "https://www.fusiondirectory.org/schema2ldif-project-and-components/";
|
||||||
|
license = licenses.bsd3;
|
||||||
|
platforms = platforms.unix;
|
||||||
|
maintainers = with maintainers; [ das_j ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -3370,6 +3370,10 @@ with pkgs;
|
||||||
inherit (darwin.apple_sdk.frameworks) CoreServices;
|
inherit (darwin.apple_sdk.frameworks) CoreServices;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
medfile = callPackage ../development/libraries/medfile {
|
||||||
|
hdf5 = hdf5_1_8;
|
||||||
|
};
|
||||||
|
|
||||||
memtester = callPackage ../tools/system/memtester { };
|
memtester = callPackage ../tools/system/memtester { };
|
||||||
|
|
||||||
minergate = callPackage ../applications/misc/minergate { };
|
minergate = callPackage ../applications/misc/minergate { };
|
||||||
|
@ -4911,6 +4915,8 @@ with pkgs;
|
||||||
|
|
||||||
sharutils = callPackage ../tools/archivers/sharutils { };
|
sharutils = callPackage ../tools/archivers/sharutils { };
|
||||||
|
|
||||||
|
schema2ldif = callPackage ../tools/text/schema2ldif { };
|
||||||
|
|
||||||
shocco = callPackage ../tools/text/shocco { };
|
shocco = callPackage ../tools/text/shocco { };
|
||||||
|
|
||||||
shotwell = callPackage ../applications/graphics/shotwell { };
|
shotwell = callPackage ../applications/graphics/shotwell { };
|
||||||
|
@ -15972,7 +15978,7 @@ with pkgs;
|
||||||
|
|
||||||
fomp = callPackage ../applications/audio/fomp { };
|
fomp = callPackage ../applications/audio/fomp { };
|
||||||
|
|
||||||
freecad = callPackage ../applications/graphics/freecad { };
|
freecad = callPackage ../applications/graphics/freecad { mpi = openmpi; };
|
||||||
|
|
||||||
freemind = callPackage ../applications/misc/freemind { };
|
freemind = callPackage ../applications/misc/freemind { };
|
||||||
|
|
||||||
|
@ -17135,6 +17141,8 @@ with pkgs;
|
||||||
inherit (gnome3) libgee;
|
inherit (gnome3) libgee;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
synapse-bt = callPackage ../applications/networking/p2p/synapse-bt { };
|
||||||
|
|
||||||
synfigstudio = callPackage ../applications/graphics/synfigstudio {
|
synfigstudio = callPackage ../applications/graphics/synfigstudio {
|
||||||
fontsConf = makeFontsConf { fontDirectories = [ freefont_ttf ]; };
|
fontsConf = makeFontsConf { fontDirectories = [ freefont_ttf ]; };
|
||||||
inherit (gnome3) defaultIconTheme;
|
inherit (gnome3) defaultIconTheme;
|
||||||
|
|
|
@ -2920,7 +2920,7 @@ let self = _self // overrides; _self = with self; {
|
||||||
url = "mirror://cpan/authors/id/B/BI/BINGOS/${name}.tar.gz";
|
url = "mirror://cpan/authors/id/B/BI/BINGOS/${name}.tar.gz";
|
||||||
sha256 = "1ahddfs9jc2z3h7z6lkf9ppmrgw2kjnzcpbrhvwq3rlpxa9xshhq";
|
sha256 = "1ahddfs9jc2z3h7z6lkf9ppmrgw2kjnzcpbrhvwq3rlpxa9xshhq";
|
||||||
};
|
};
|
||||||
doCheck = false;
|
propagatedBuildInputs = [ ArchiveExtract LogMessage ModulePluggable ObjectAccessor PackageConstants ];
|
||||||
meta = {
|
meta = {
|
||||||
homepage = https://github.com/jib/cpanplus-devel;
|
homepage = https://github.com/jib/cpanplus-devel;
|
||||||
description = "Ameliorated interface to the CPAN";
|
description = "Ameliorated interface to the CPAN";
|
||||||
|
|
Loading…
Reference in New Issue