diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2018-11-24 10:44:50 +0100 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2018-11-24 10:44:50 +0100 |
commit | c1792242ef5ee4f9550c029231bf6e5956078b51 (patch) | |
tree | efa090a6bab24eb332c7141b12b23142a64e114e /pkgs/development | |
parent | 28cdb6e841b9098517c2a7957454437387ca887d (diff) | |
parent | e41154d1abcbcd1b9a0f542e590c63a210ea4266 (diff) | |
download | nixlib-c1792242ef5ee4f9550c029231bf6e5956078b51.tar nixlib-c1792242ef5ee4f9550c029231bf6e5956078b51.tar.gz nixlib-c1792242ef5ee4f9550c029231bf6e5956078b51.tar.bz2 nixlib-c1792242ef5ee4f9550c029231bf6e5956078b51.tar.lz nixlib-c1792242ef5ee4f9550c029231bf6e5956078b51.tar.xz nixlib-c1792242ef5ee4f9550c029231bf6e5956078b51.tar.zst nixlib-c1792242ef5ee4f9550c029231bf6e5956078b51.zip |
Merge staging-next into staging
Diffstat (limited to 'pkgs/development')
27 files changed, 321 insertions, 109 deletions
diff --git a/pkgs/development/compilers/ghcjs-ng/8.4/git.json b/pkgs/development/compilers/ghcjs-ng/8.4/git.json index b27c75bfe713..cfa6cf1d7d26 100644 --- a/pkgs/development/compilers/ghcjs-ng/8.4/git.json +++ b/pkgs/development/compilers/ghcjs-ng/8.4/git.json @@ -1,6 +1,6 @@ { "url": "https://github.com/ghcjs/ghcjs", - "rev": "d20da90a4819faad1c6309a06363b34edac0374c", - "sha256": "0jmxgfm1zwg6xscjcaycfam7zss8ik4ql4ii5lpryh4h6cdhvkbr", + "rev": "81bf5f31dabaa711aab234cb119eb9c998ccb129", + "sha256": "1bgnc71kjqicqv2xq8p70nck600yi2p7g4k9r1jclv21ib7i5hmx", "fetchSubmodules": true } diff --git a/pkgs/development/compilers/ghcjs-ng/8.4/stage0.nix b/pkgs/development/compilers/ghcjs-ng/8.4/stage0.nix index 051b0a19b5b5..bf4fd6d68a7e 100644 --- a/pkgs/development/compilers/ghcjs-ng/8.4/stage0.nix +++ b/pkgs/development/compilers/ghcjs-ng/8.4/stage0.nix @@ -156,6 +156,7 @@ tree-diff ]; testToolDepends = [ hspec-discover ]; + doHaddock = false; homepage = "http://www.haskell.org/haddock/"; description = "Library exposing some functionality of Haddock"; license = stdenv.lib.licenses.bsd3; diff --git a/pkgs/development/compilers/urweb/default.nix b/pkgs/development/compilers/urweb/default.nix index 68fa3d3613fd..d81ddd9b58f7 100644 --- a/pkgs/development/compilers/urweb/default.nix +++ b/pkgs/development/compilers/urweb/default.nix @@ -4,11 +4,11 @@ stdenv.mkDerivation rec { name = "urweb-${version}"; - version = "20170720"; + version = "20180616"; src = fetchurl { - url = "http://www.impredicative.com/ur/${name}.tgz"; - sha256 = "17qh9mcmlhbv6r52yij8l9ik7j7x6x7c09lf6pznnbdh4sf8p5wb"; + url = "https://github.com/urweb/urweb/releases/download/${version}/${name}.tar.gz"; + sha256 = "04iy2ky78q6w0d2xyfz2a1k26g2yrwsh1hw1bgs5ia9v3ih965r1"; }; buildInputs = [ openssl mlton mysql.connector-c postgresql sqlite ]; diff --git a/pkgs/development/haskell-modules/make-package-set.nix b/pkgs/development/haskell-modules/make-package-set.nix index 5803e2946bff..e36933a81944 100644 --- a/pkgs/development/haskell-modules/make-package-set.nix +++ b/pkgs/development/haskell-modules/make-package-set.nix @@ -125,6 +125,7 @@ let name = "cabal2nix-${name}"; nativeBuildInputs = [ pkgs.buildPackages.cabal2nix ]; preferLocalBuild = true; + allowSubstitutes = false; phases = ["installPhase"]; LANG = "en_US.UTF-8"; LOCALE_ARCHIVE = pkgs.lib.optionalString (buildPlatform.libc == "glibc") "${buildPackages.glibcLocales}/lib/locale/locale-archive"; diff --git a/pkgs/development/libraries/keybinder3/default.nix b/pkgs/development/libraries/keybinder3/default.nix index 194b57c05342..fe7482ed56ef 100644 --- a/pkgs/development/libraries/keybinder3/default.nix +++ b/pkgs/development/libraries/keybinder3/default.nix @@ -4,19 +4,19 @@ stdenv.mkDerivation rec { name = "keybinder3-${version}"; - version = "0.3.0"; + version = "0.3.2"; src = fetchFromGitHub { - owner = "engla"; + owner = "kupferlauncher"; repo = "keybinder"; rev = "keybinder-3.0-v${version}"; - sha256 = "1jdcrfhvqffhc2h69197wkpc5j5synk5mm8rqhz27qfrfhh4vf0q"; + sha256 = "196ibn86j54fywfwwgyh89i9wygm4vh7ls19fn20vrnm6ijlzh9r"; }; - nativeBuildInputs = [ pkgconfig ]; + nativeBuildInputs = [ autoconf automake libtool pkgconfig ]; buildInputs = [ - autoconf automake libtool gnome3.gnome-common gtk-doc - libX11 libXext libXrender gobjectIntrospection gtk3 + gnome3.gnome-common gtk-doc gtk3 + libX11 libXext libXrender gobjectIntrospection ]; preConfigure = '' @@ -25,7 +25,7 @@ stdenv.mkDerivation rec { meta = with stdenv.lib; { description = "Library for registering global key bindings"; - homepage = https://github.com/engla/keybinder/; + homepage = https://github.com/kupferlauncher/keybinder/; license = licenses.mit; platforms = platforms.linux; maintainers = [ maintainers.cstrahan ]; diff --git a/pkgs/development/libraries/libxkbcommon/libxkbcommon_7.nix b/pkgs/development/libraries/libxkbcommon/libxkbcommon_7.nix new file mode 100644 index 000000000000..e730cc6eaabf --- /dev/null +++ b/pkgs/development/libraries/libxkbcommon/libxkbcommon_7.nix @@ -0,0 +1,32 @@ +{ stdenv, fetchurl, pkgconfig, yacc, flex, xkeyboard_config, libxcb, libX11 }: + +stdenv.mkDerivation rec { + name = "libxkbcommon-0.7.2"; + + src = fetchurl { + url = "http://xkbcommon.org/download/${name}.tar.xz"; + sha256 = "1n5rv5n210kjnkyrvbh04gfwaa7zrmzy1393p8nyqfw66lkxr918"; + }; + + outputs = [ "out" "dev" ]; + + nativeBuildInputs = [ pkgconfig ]; + buildInputs = [ yacc flex xkeyboard_config libxcb ]; + + configureFlags = [ + "--with-xkb-config-root=${xkeyboard_config}/etc/X11/xkb" + "--with-x-locale-root=${libX11.out}/share/X11/locale" + ]; + + preBuild = stdenv.lib.optionalString stdenv.isDarwin '' + sed -i 's/,--version-script=.*$//' Makefile + ''; + + meta = with stdenv.lib; { + description = "A library to handle keyboard descriptions"; + homepage = http://xkbcommon.org; + license = licenses.mit; + maintainers = with maintainers; [ garbas ttuegel ]; + platforms = with platforms; unix; + }; +} diff --git a/pkgs/development/libraries/mbedtls/1.3.nix b/pkgs/development/libraries/mbedtls/1.3.nix index 764d50190b9e..5748d3402449 100644 --- a/pkgs/development/libraries/mbedtls/1.3.nix +++ b/pkgs/development/libraries/mbedtls/1.3.nix @@ -1,11 +1,11 @@ { stdenv, fetchurl, perl }: stdenv.mkDerivation rec { - name = "mbedtls-1.3.20"; + name = "mbedtls-1.3.22"; src = fetchurl { url = "https://tls.mbed.org/download/${name}-gpl.tgz"; - sha256 = "0vv69c1c5rr7jcwwivx06fbfixgig90pjznh2c6cn841hgwm9z00"; + sha256 = "0ms4s41z88mz7b6gsnp7jslms4v0115k7gw51i6kx6ng9am43l6y"; }; nativeBuildInputs = [ perl ]; diff --git a/pkgs/development/libraries/mbedtls/default.nix b/pkgs/development/libraries/mbedtls/default.nix index d99944228c73..de72b8a6e1d9 100644 --- a/pkgs/development/libraries/mbedtls/default.nix +++ b/pkgs/development/libraries/mbedtls/default.nix @@ -4,22 +4,23 @@ , cmake , ninja , perl # Project uses Perl for scripting and testing +, python , enableThreading ? true # Threading can be disabled to increase security https://tls.mbed.org/kb/development/thread-safety-and-multi-threading }: stdenv.mkDerivation rec { name = "mbedtls-${version}"; - version = "2.12.0"; + version = "2.14.0"; src = fetchFromGitHub { owner = "ARMmbed"; repo = "mbedtls"; rev = name; - sha256 = "09snlzlbn8yq95dnfbj2g5bh6y4q82xkaph7qp9ddnlqiaqcji2h"; + sha256 = "0115qk69j4dvkvw5ci34zlajzhk2hbkiqbjyzr0lxf0mnqacl03i"; }; - nativeBuildInputs = [ cmake ninja perl ]; + nativeBuildInputs = [ cmake ninja perl python ]; postConfigure = stdenv.lib.optionals enableThreading '' perl scripts/config.pl set MBEDTLS_THREADING_C # Threading abstraction layer diff --git a/pkgs/development/libraries/openssl/chacha.nix b/pkgs/development/libraries/openssl/chacha.nix index 973f83042737..f07ebad9e810 100644 --- a/pkgs/development/libraries/openssl/chacha.nix +++ b/pkgs/development/libraries/openssl/chacha.nix @@ -1,5 +1,5 @@ { stdenv, fetchFromGitHub, perl, zlib -, withCryptodev ? false, cryptodevHeaders +, withCryptodev ? false, cryptodev }: with stdenv.lib; @@ -18,7 +18,7 @@ stdenv.mkDerivation rec { setOutputFlags = false; nativeBuildInputs = [ perl zlib ]; - buildInputs = stdenv.lib.optional withCryptodev cryptodevHeaders; + buildInputs = stdenv.lib.optional withCryptodev cryptodev; configureScript = "./config"; diff --git a/pkgs/development/libraries/openssl/default.nix b/pkgs/development/libraries/openssl/default.nix index 3ec8e3ab2293..5fd7e14f2bdb 100644 --- a/pkgs/development/libraries/openssl/default.nix +++ b/pkgs/development/libraries/openssl/default.nix @@ -1,5 +1,5 @@ { stdenv, fetchurl, buildPackages, perl, coreutils -, withCryptodev ? false, cryptodevHeaders +, withCryptodev ? false, cryptodev , enableSSL2 ? false , static ? false }: @@ -38,7 +38,7 @@ let separateDebugInfo = stdenv.hostPlatform.isLinux; nativeBuildInputs = [ perl ]; - buildInputs = stdenv.lib.optional withCryptodev cryptodevHeaders; + buildInputs = stdenv.lib.optional withCryptodev cryptodev; # TODO(@Ericson2314): Improve with mass rebuild configurePlatforms = []; diff --git a/pkgs/development/libraries/uriparser/default.nix b/pkgs/development/libraries/uriparser/default.nix index 03f8e20b38d0..ac9f67e1e129 100644 --- a/pkgs/development/libraries/uriparser/default.nix +++ b/pkgs/development/libraries/uriparser/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, gtest, pkgconfig, doxygen, graphviz }: +{ lib, stdenv, fetchurl, gtest, pkgconfig, doxygen, graphviz }: stdenv.mkDerivation rec { name = "uriparser-${version}"; @@ -10,9 +10,11 @@ stdenv.mkDerivation rec { sha256 = "0b2yagxzhq9ghpszci6a9xlqg0yl7vq9j5r8dwbar3nszqsfnrzc"; }; - nativeBuildInputs = [ pkgconfig gtest doxygen graphviz ]; + nativeBuildInputs = [ pkgconfig doxygen graphviz ]; + buildInputs = lib.optional doCheck gtest; + configureFlags = lib.optional (!doCheck) "--disable-tests"; - doCheck = true; + doCheck = stdenv.targetPlatform.system == stdenv.hostPlatform.system; meta = with stdenv.lib; { homepage = https://uriparser.github.io/; diff --git a/pkgs/development/libraries/webkitgtk/2.22.nix b/pkgs/development/libraries/webkitgtk/2.22.nix index 71b3dc24fe21..4411b4e84344 100644 --- a/pkgs/development/libraries/webkitgtk/2.22.nix +++ b/pkgs/development/libraries/webkitgtk/2.22.nix @@ -15,7 +15,7 @@ assert stdenv.isDarwin -> !enableGtk2Plugins; with stdenv.lib; stdenv.mkDerivation rec { name = "webkitgtk-${version}"; - version = "2.22.3"; + version = "2.22.4"; meta = { description = "Web content rendering engine, GTK+ port"; @@ -28,7 +28,7 @@ stdenv.mkDerivation rec { src = fetchurl { url = "https://webkitgtk.org/releases/${name}.tar.xz"; - sha256 = "0wnddhm2bihmmkmi919lyxskvjk2wrzx6azkiypyjfwm08lm9zcx"; + sha256 = "1f2335hjzsvjxjf6hy5cyypsn65wykpx2pbk1sp548w0hclbxdgs"; }; patches = optionals stdenv.isDarwin [ diff --git a/pkgs/development/python-modules/libmr/default.nix b/pkgs/development/python-modules/libmr/default.nix new file mode 100644 index 000000000000..c258b8dd865c --- /dev/null +++ b/pkgs/development/python-modules/libmr/default.nix @@ -0,0 +1,25 @@ +{ stdenv, buildPythonPackage, fetchPypi, numpy, cython }: + +buildPythonPackage rec { + pname = "libmr"; + version = "0.1.9"; + + src = fetchPypi { + inherit pname version; + extension = "zip"; + sha256 = "43ccd86693b725fa3abe648c8cdcef17ba5fa46b5528168829e5f9b968dfeb70"; + }; + + propagatedBuildInputs = [ numpy cython ]; + + # No tests in the pypi tarball + doCheck = false; + + meta = with stdenv.lib; { + description = "libMR provides core MetaRecognition and Weibull fitting functionality"; + homepage = https://github.com/Vastlab/libMR; + license = licenses.bsd3; + maintainers = with maintainers; [ psyanticy ]; + }; +} + diff --git a/pkgs/development/python-modules/nanoleaf/default.nix b/pkgs/development/python-modules/nanoleaf/default.nix new file mode 100644 index 000000000000..ccf0be4ae6d2 --- /dev/null +++ b/pkgs/development/python-modules/nanoleaf/default.nix @@ -0,0 +1,25 @@ +{ stdenv, buildPythonPackage, fetchPypi, requests }: + +buildPythonPackage rec { + pname = "nanoleaf"; + version = "0.4.1"; + + src = fetchPypi { + inherit pname version; + sha256 = "17dmxibfjmwnrs6ng5cmvfis3cv6iw267xb8n1pijy15y9dz0s8s"; + }; + + prePatch = '' + sed -i '/^gitVersion =/d' setup.py + substituteInPlace setup.py --replace 'gitVersion' '"${version}"' + ''; + + propagatedBuildInputs = [ requests ]; + + meta = with stdenv.lib; { + description = "A python interface for Nanoleaf Aurora lighting"; + homepage = https://github.com/software-2/nanoleaf; + license = licenses.mit; + maintainers = with maintainers; [ elseym ]; + }; +} diff --git a/pkgs/development/python-modules/prettytable/default.nix b/pkgs/development/python-modules/prettytable/default.nix index d5a917e03ce4..be0fb7e4023a 100644 --- a/pkgs/development/python-modules/prettytable/default.nix +++ b/pkgs/development/python-modules/prettytable/default.nix @@ -22,7 +22,7 @@ buildPythonPackage rec { meta = with stdenv.lib; { description = "Simple Python library for easily displaying tabular data in a visually appealing ASCII table format"; homepage = http://code.google.com/p/prettytable/; - license = licenses.bsd0; + license = licenses.bsd3; }; } diff --git a/pkgs/development/python-modules/pyjwt/default.nix b/pkgs/development/python-modules/pyjwt/default.nix index 94a1a4e6b0e2..a3a770a0da53 100644 --- a/pkgs/development/python-modules/pyjwt/default.nix +++ b/pkgs/development/python-modules/pyjwt/default.nix @@ -1,6 +1,6 @@ { lib, buildPythonPackage, fetchPypi , cryptography, ecdsa -, pytestrunner, pytestcov, pytest }: +, pytestrunner, pytestcov, pytest_37 }: buildPythonPackage rec { pname = "PyJWT"; @@ -13,7 +13,7 @@ buildPythonPackage rec { propagatedBuildInputs = [ cryptography ecdsa ]; - checkInputs = [ pytestrunner pytestcov pytest ]; + checkInputs = [ pytestrunner pytestcov pytest_37 ]; # pytest 3.9.0 changed behavior of deprecated_call, see release notes postPatch = '' diff --git a/pkgs/development/python-modules/pymssql/default.nix b/pkgs/development/python-modules/pymssql/default.nix new file mode 100644 index 000000000000..c162f065b799 --- /dev/null +++ b/pkgs/development/python-modules/pymssql/default.nix @@ -0,0 +1,26 @@ +{ lib, buildPythonPackage, fetchPypi, freetds, cython, setuptools-git }: + +buildPythonPackage rec { + pname = "pymssql"; + version = "2.1.4"; + + src = fetchPypi { + inherit pname version; + sha256 = "1yvs3azd8dkf40lybr9wvswvf4hbxn5ys9ypansmbbb328dyn09j"; + }; + + buildInputs = [cython setuptools-git]; + propagatedBuildInputs = [freetds]; + + # The tests require a running instance of SQLServer, so we skip them + doCheck = false; + + meta = with lib; { + homepage = http://pymssql.org/en/stable/; + description = "A simple database interface for Python that builds on top + of FreeTDS to provide a Python DB-API (PEP-249) interface to Microsoft + SQL Server"; + license = licenses.lgpl21; + maintainers = with maintainers; [ mredaelli ]; + }; +} diff --git a/pkgs/development/python-modules/pytesseract/default.nix b/pkgs/development/python-modules/pytesseract/default.nix new file mode 100644 index 000000000000..7d96f4d39bd0 --- /dev/null +++ b/pkgs/development/python-modules/pytesseract/default.nix @@ -0,0 +1,31 @@ +{ buildPythonPackage, fetchPypi, lib, pillow, tesseract, substituteAll }: + +buildPythonPackage rec { + pname = "pytesseract"; + version = "0.2.5"; + + src = fetchPypi { + inherit pname version; + sha256 = "0wlz1vbg1k8cdrpzvrahjnbsfs4ki6xqhbkv17ycfchh7h6kfkfm"; + }; + + patches = [ + (substituteAll { + src = ./tesseract-binary.patch; + drv = "${tesseract}"; + }) + ]; + + buildInputs = [ tesseract ]; + propagatedBuildInputs = [ pillow ]; + + # the package doesn't have any tests. + doCheck = false; + + meta = with lib; { + homepage = https://pypi.org/project/pytesseract/; + license = licenses.gpl3; + description = "A Python wrapper for Google Tesseract"; + maintainers = with maintainers; [ ma27 ]; + }; +} diff --git a/pkgs/development/python-modules/pytesseract/tesseract-binary.patch b/pkgs/development/python-modules/pytesseract/tesseract-binary.patch new file mode 100644 index 000000000000..f7eb9fb1d42a --- /dev/null +++ b/pkgs/development/python-modules/pytesseract/tesseract-binary.patch @@ -0,0 +1,13 @@ +diff --git a/src/pytesseract.py b/src/pytesseract.py +index 32713cf..5f9209d 100755 +--- a/src/pytesseract.py ++++ b/src/pytesseract.py +@@ -25,7 +25,7 @@ if numpy_installed: + from numpy import ndarray + + # CHANGE THIS IF TESSERACT IS NOT IN YOUR PATH, OR IS NAMED DIFFERENTLY +-tesseract_cmd = 'tesseract' ++tesseract_cmd = '@drv@/bin/tesseract' + RGB_MODE = 'RGB' + OSD_KEYS = { + 'Page number': ('page_num', int), diff --git a/pkgs/development/python-modules/pytest/default.nix b/pkgs/development/python-modules/pytest/default.nix index 9412a750a9ab..dc928130cbb1 100644 --- a/pkgs/development/python-modules/pytest/default.nix +++ b/pkgs/development/python-modules/pytest/default.nix @@ -2,46 +2,59 @@ , setuptools_scm, setuptools, six, pluggy, funcsigs, isPy3k, more-itertools , atomicwrites, mock, writeText, pathlib2 }: -buildPythonPackage rec { - version = "3.9.3"; - pname = "pytest"; - preCheck = '' - # don't test bash builtins - rm testing/test_argcomplete.py - ''; +let generic = { version, sha256 }: + buildPythonPackage rec { + pname = "pytest"; + inherit version; - src = fetchPypi { - inherit pname version; + preCheck = '' + # don't test bash builtins + rm testing/test_argcomplete.py + ''; + + src = fetchPypi { + inherit pname version sha256; + }; + + checkInputs = [ hypothesis mock ]; + buildInputs = [ setuptools_scm ]; + propagatedBuildInputs = [ attrs py setuptools six pluggy more-itertools atomicwrites] + ++ stdenv.lib.optionals (!isPy3k) [ funcsigs ] + ++ stdenv.lib.optionals (pythonOlder "3.6") [ pathlib2 ]; + + checkPhase = '' + runHook preCheck + $out/bin/py.test -x testing/ + runHook postCheck + ''; + + # Remove .pytest_cache when using py.test in a Nix build + setupHook = writeText "pytest-hook" '' + pytestcachePhase() { + find $out -name .pytest_cache -type d -exec rm -rf {} + + } + + preDistPhases+=" pytestcachePhase" + ''; + + meta = with stdenv.lib; { + homepage = https://docs.pytest.org; + description = "Framework for writing tests"; + maintainers = with maintainers; [ domenkozar lovek323 madjar lsix ]; + license = licenses.mit; + platforms = platforms.unix; + }; + }; + +in { + pytest_39 = generic { + version = "3.9.3"; sha256 = "a9e5e8d7ab9d5b0747f37740276eb362e6a76275d76cebbb52c6049d93b475db"; }; - checkInputs = [ hypothesis mock ]; - buildInputs = [ setuptools_scm ]; - propagatedBuildInputs = [ attrs py setuptools six pluggy more-itertools atomicwrites] - ++ stdenv.lib.optionals (!isPy3k) [ funcsigs ] - ++ stdenv.lib.optionals (pythonOlder "3.6") [ pathlib2 ]; - - checkPhase = '' - runHook preCheck - $out/bin/py.test -x testing/ - runHook postCheck - ''; - - # Remove .pytest_cache when using py.test in a Nix build - setupHook = writeText "pytest-hook" '' - pytestcachePhase() { - find $out -name .pytest_cache -type d -exec rm -rf {} + - } - - preDistPhases+=" pytestcachePhase" - ''; - - meta = with stdenv.lib; { - homepage = https://docs.pytest.org; - description = "Framework for writing tests"; - maintainers = with maintainers; [ domenkozar lovek323 madjar lsix ]; - license = licenses.mit; - platforms = platforms.unix; + pytest_37 = generic { + version = "3.7.4"; + sha256 = "2d7c49e931316cc7d1638a3e5f54f5d7b4e5225972b3c9838f3584788d27f349"; }; } diff --git a/pkgs/development/tools/continuous-integration/jenkins/default.nix b/pkgs/development/tools/continuous-integration/jenkins/default.nix index 0f7fc4804906..7a401f88be31 100644 --- a/pkgs/development/tools/continuous-integration/jenkins/default.nix +++ b/pkgs/development/tools/continuous-integration/jenkins/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { name = "jenkins-${version}"; - version = "2.138.2"; + version = "2.138.3"; src = fetchurl { url = "http://mirrors.jenkins.io/war-stable/${version}/jenkins.war"; - sha256 = "10qyr8izngnhlr1b03a9vdnbmwprbqsjnd55hjdalmxy6dq5mvfq"; + sha256 = "0z8yfnqg43vqhhnp27wb28686zq9kqkyicqn0162hr9h5pd4sglm"; }; buildCommand = '' @@ -16,7 +16,7 @@ stdenv.mkDerivation rec { meta = with stdenv.lib; { description = "An extendable open source continuous integration server"; - homepage = http://jenkins-ci.org; + homepage = https://jenkins-ci.org; license = licenses.mit; platforms = platforms.all; maintainers = with maintainers; [ coconnor fpletz earldouglas ]; diff --git a/pkgs/development/tools/golint/default.nix b/pkgs/development/tools/golint/default.nix index a617e582c980..9d404546d008 100644 --- a/pkgs/development/tools/golint/default.nix +++ b/pkgs/development/tools/golint/default.nix @@ -2,17 +2,29 @@ buildGoPackage rec { name = "lint-${version}"; - version = "20180208-${stdenv.lib.strings.substring 0 7 rev}"; - rev = "e14d9b0f1d332b1420c1ffa32562ad2dc84d645d"; + version = "20181026-${stdenv.lib.strings.substring 0 7 rev}"; + rev = "c67002cb31c3a748b7688c27f20d8358b4193582"; - goPackagePath = "github.com/golang/lint"; + goPackagePath = "golang.org/x/lint"; excludedPackages = "testdata"; + # we must allow references to the original `go` package, as golint uses + # compiler go/build package to load the packages it's linting. + allowGoReference = true; + src = fetchgit { inherit rev; - url = "https://github.com/golang/lint"; - sha256 = "15ynf78v39n71aplrhbqvzfblhndp8cd6lnknm586sdl81wama6p"; + url = "https://go.googlesource.com/lint"; + sha256 = "0gymbggskjmphqxqcx4s0vnlcz7mygbix0vhwcwv5r67c0bf6765"; }; goDeps = ./deps.nix; + + meta = with stdenv.lib; { + homepage = https://golang.org; + description = "Linter for Go source code"; + license = licenses.bsd3; + maintainers = with maintainers; [ jhillyerd ]; + platforms = platforms.all; + }; } diff --git a/pkgs/development/tools/golint/deps.nix b/pkgs/development/tools/golint/deps.nix index caf3615c666b..e26400989338 100644 --- a/pkgs/development/tools/golint/deps.nix +++ b/pkgs/development/tools/golint/deps.nix @@ -1,11 +1,12 @@ +# This file was generated by https://github.com/kamilchm/go2nix v1.2.1 [ { goPackagePath = "golang.org/x/tools"; fetch = { type = "git"; url = "https://go.googlesource.com/tools"; - rev = "66487607e2081c7c2af2281c62c14ee000d5024b"; - sha256 = "03wiraqkms4jb5gi7vmp52mpmp4av08yw4gr2nk31c2rnhyd3jv4"; + rev = "91f80e683c10fea00e7f965a1a7cac482ce52541"; + sha256 = "16a2vppy5hnp663f28yak6592l8p968ihsc91pigamxx3vk1qh5d"; }; } ] diff --git a/pkgs/development/tools/minizinc/default.nix b/pkgs/development/tools/minizinc/default.nix index 59f60d4046ad..e35a310b1002 100644 --- a/pkgs/development/tools/minizinc/default.nix +++ b/pkgs/development/tools/minizinc/default.nix @@ -1,6 +1,6 @@ { stdenv, fetchFromGitHub, cmake, flex, bison }: let - version = "2.2.1"; + version = "2.2.3"; in stdenv.mkDerivation { name = "minizinc-${version}"; @@ -8,13 +8,12 @@ stdenv.mkDerivation { buildInputs = [ cmake flex bison ]; src = fetchFromGitHub { - rev = "${version}"; owner = "MiniZinc"; repo = "libminizinc"; - sha256 = "1i11lan7fqs3lg0s6jfr8sflzwn5nk1ln5j6afjrkrdb08291dr7"; + rev = "3d66971a0cad6edbe796f4dd940229d38e5bfe3d"; # tags on the repo are disappearing: See https://github.com/MiniZinc/libminizinc/issues/257 + sha256 = "1q31y9131aj2lsm34srm8i1s0271qcaaknzvym3r8awynm14saq5"; }; - # meta is all the information about the package.. meta = with stdenv.lib; { homepage = http://www.minizinc.org/; description = "MiniZinc is a medium-level constraint modelling language."; diff --git a/pkgs/development/tools/misc/hound/default.nix b/pkgs/development/tools/misc/hound/default.nix index f438e72b64e1..f1875ee0903a 100644 --- a/pkgs/development/tools/misc/hound/default.nix +++ b/pkgs/development/tools/misc/hound/default.nix @@ -2,8 +2,8 @@ buildGoPackage rec { name = "hound-unstable-${version}"; - version = "20170324"; - rev = "effbe5873f329fcdf982e906b756b535e2804ebc"; + version = "2018-11-02"; + rev = "74ec7448a234d8d09e800b92e52c92e378c07742"; goPackagePath = "github.com/etsy/hound"; @@ -11,7 +11,7 @@ buildGoPackage rec { inherit rev; owner = "etsy"; repo = "hound"; - sha256 = "0zc769lygad5an63z5mivaggbmm07d9ynngi2jx3f7651wpji4aw"; + sha256 = "0g6nvgqjabprcl9z5ci5frhbam1dzq978h1d6aanf8vvzslfgdpq"; }; goDeps = ./deps.nix; diff --git a/pkgs/development/tools/skaffold/default.nix b/pkgs/development/tools/skaffold/default.nix index 56d290dd7248..9689ff33cd3c 100644 --- a/pkgs/development/tools/skaffold/default.nix +++ b/pkgs/development/tools/skaffold/default.nix @@ -2,9 +2,9 @@ buildGoPackage rec { name = "skaffold-${version}"; - version = "0.16.0"; - # rev is the 0.16.0 commit, mainly for skaffold version command output - rev = "78e443973ee7475ee66d227431596351cf5e2caf"; + version = "0.18.0"; + # rev is the 0.18.0 commit, mainly for skaffold version command output + rev = "34651689be78b2c6bcfbace5072b00b93661f895"; goPackagePath = "github.com/GoogleContainerTools/skaffold"; subPackages = ["cmd/skaffold"]; @@ -20,7 +20,7 @@ buildGoPackage rec { owner = "GoogleContainerTools"; repo = "skaffold"; rev = "v${version}"; - sha256 = "0vpjxyqppyj4zs02n8b0k0qd8zidrrcks60x6qd5a4bbqa0c1zld"; + sha256 = "0an3g4jqch7a6ckh8yhia7lykpvb5lvz4kd5kqfmw9479kygv9sa"; }; meta = { diff --git a/pkgs/development/web/insomnia/default.nix b/pkgs/development/web/insomnia/default.nix index 4fcaac90fd63..c7582f4d5b7b 100644 --- a/pkgs/development/web/insomnia/default.nix +++ b/pkgs/development/web/insomnia/default.nix @@ -1,30 +1,70 @@ -{ stdenv, lib, makeWrapper, fetchurl, dpkg +{ stdenv, makeWrapper, fetchurl, dpkg , alsaLib, atk, cairo, cups, dbus, expat, fontconfig, freetype -, gdk_pixbuf, glib, gnome2, gtk2-x11, nspr, nss +, gdk_pixbuf, glib, gnome2, nspr, nss, gtk3, gtk2, at-spi2-atk , libX11, libXScrnSaver, libXcomposite, libXcursor, libXdamage, libXext , libXfixes, libXi, libXrandr, libXrender, libXtst, libxcb, nghttp2 -, libudev0-shim, glibc, curl, openssl +, libudev0-shim, glibc, curl, openssl, autoPatchelfHook }: let - libPath = lib.makeLibraryPath [ - alsaLib atk cairo cups dbus expat fontconfig freetype gdk_pixbuf glib gnome2.GConf gnome2.pango - gtk2-x11 nspr nss stdenv.cc.cc libX11 libXScrnSaver libXcomposite libXcursor libXdamage libXext libXfixes - libXi libXrandr libXrender libXtst libxcb + runtimeLibs = stdenv.lib.makeLibraryPath [ + curl + glibc + libudev0-shim + nghttp2 + openssl + stdenv.cc.cc ]; - runtimeLibs = lib.makeLibraryPath [ libudev0-shim glibc curl openssl nghttp2 ]; in stdenv.mkDerivation rec { name = "insomnia-${version}"; - version = "6.0.2"; + version = "6.2.0"; src = fetchurl { url = "https://github.com/getinsomnia/insomnia/releases/download/v${version}/insomnia_${version}_amd64.deb"; - sha256 = "18xspbaal945bmrwjnsz1sjba53040wxrzvig40nnclwj8h671ms"; + sha256 = "1wxgcriszsbgpicaj4h1ycyykgwsjr8m7x5xi02y5bs5k6l7gcva"; }; - nativeBuildInputs = [ makeWrapper dpkg ]; + nativeBuildInputs = [ + autoPatchelfHook + dpkg + makeWrapper + ]; + + buildInputs = [ + alsaLib + at-spi2-atk + atk + cairo + cups + dbus + expat + fontconfig + freetype + gdk_pixbuf + glib + gnome2.GConf + gnome2.pango + gtk2 + gtk3 + libX11 + libXScrnSaver + libXcomposite + libXcursor + libXdamage + libXext + libXfixes + libXi + libXrandr + libXrender + libXtst + libxcb + nspr + nss + stdenv.cc.cc + ]; - buildPhase = ":"; + dontBuild = true; + dontConfigure = true; unpackPhase = "dpkg-deb -x $src ."; @@ -39,23 +79,13 @@ in stdenv.mkDerivation rec { ''; preFixup = '' - for lib in $out/lib/*.so; do - patchelf --set-rpath "$out/lib:${libPath}" $lib - done - - for bin in $out/bin/insomnia; do - patchelf --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \ - --set-rpath "$out/lib:${libPath}" \ - $bin - done - wrapProgram "$out/bin/insomnia" --prefix LD_LIBRARY_PATH : ${runtimeLibs} ''; meta = with stdenv.lib; { homepage = https://insomnia.rest/; description = "The most intuitive cross-platform REST API Client"; - license = stdenv.lib.licenses.mit; + license = licenses.mit; platforms = [ "x86_64-linux" ]; maintainers = with maintainers; [ markus1189 ]; }; |