mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
Merge remote-tracking branch 'upstream/master' into HEAD
This commit is contained in:
commit
fac78c878c
@ -564,6 +564,7 @@
|
||||
rasendubi = "Alexey Shmalko <rasen.dubi@gmail.com>";
|
||||
raskin = "Michael Raskin <7c6f434c@mail.ru>";
|
||||
ravloony = "Tom Macdonald <ravloony@gmail.com>";
|
||||
razvan = "Răzvan Flavius Panda <razvan.panda@gmail.com>";
|
||||
rbasso = "Rafael Basso <rbasso@sharpgeeks.net>";
|
||||
redbaron = "Maxim Ivanov <ivanov.maxim@gmail.com>";
|
||||
redvers = "Redvers Davies <red@infect.me>";
|
||||
|
@ -70,7 +70,7 @@ in {
|
||||
default = true;
|
||||
type = types.bool;
|
||||
description = ''
|
||||
If set to <literal>true</literal>, the components used in <literal>config</config>
|
||||
If set to <literal>true</literal>, the components used in <literal>config</literal>
|
||||
are set as the specified package's <literal>extraComponents</literal>.
|
||||
This in turn adds all packaged dependencies to the derivation.
|
||||
You might still see import errors in your log.
|
||||
|
@ -206,7 +206,8 @@ in
|
||||
"xhci_hcd"
|
||||
"xhci_pci"
|
||||
"usbhid"
|
||||
"hid_generic" "hid_lenovo" "hid_apple" "hid_roccat" "hid_logitech_hidpp"
|
||||
"hid_generic" "hid_lenovo" "hid_apple" "hid_roccat"
|
||||
"hid_logitech_hidpp" "hid_logitech_dj"
|
||||
|
||||
] ++ optionals (pkgs.stdenv.isi686 || pkgs.stdenv.isx86_64) [
|
||||
# Misc. x86 keyboard stuff.
|
||||
|
@ -3,13 +3,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "tiled-${version}";
|
||||
version = "1.1.1";
|
||||
version = "1.1.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bjorn";
|
||||
repo = "tiled";
|
||||
rev = "v${version}";
|
||||
sha256 = "1c6n5xshadxv5qwv8kfrj1kbfnkvx6nyxc9p4mpzkjrkxw1b1qf1";
|
||||
sha256 = "1bzp89914rlrwf2whky3fx10rwxqiwbw9acyqllvam3l4hmv4nlz";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig qmake ];
|
||||
@ -24,6 +24,7 @@ stdenv.mkDerivation rec {
|
||||
bsd2 # libtiled and tmxviewer
|
||||
gpl2Plus # all the rest
|
||||
];
|
||||
maintainers = with maintainers; [ dywedir ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
with python3Packages;
|
||||
buildPythonApplication rec {
|
||||
version = "0.6.0";
|
||||
version = "0.7.1";
|
||||
name = "kitty-${version}";
|
||||
format = "other";
|
||||
|
||||
@ -10,7 +10,7 @@ buildPythonApplication rec {
|
||||
owner = "kovidgoyal";
|
||||
repo = "kitty";
|
||||
rev = "v${version}";
|
||||
sha256 = "1p86gry91m4kicy79fc1qfr0hcsd5xnvxzmm4q956x883h6h766r";
|
||||
sha256 = "0c02xy5psb7v7xfncz4bflrbinifpcm1yn8hvh0zaf7p4vr837p7";
|
||||
};
|
||||
|
||||
buildInputs = [ fontconfig glfw ncurses libunistring harfbuzz libX11 libXrandr libXinerama libXcursor libxkbcommon libXi libXext ];
|
||||
|
@ -297,9 +297,15 @@ in
|
||||
crate_: lib.makeOverridable ({ rust, release, verbose, features, buildInputs, crateOverrides }:
|
||||
|
||||
let crate = crate_ // (lib.attrByPath [ crate_.crateName ] (attr: {}) crateOverrides crate_);
|
||||
processedAttrs = [
|
||||
"src" "buildInputs" "crateBin" "crateLib" "libName" "libPath"
|
||||
"buildDependencies" "dependencies" "features"
|
||||
"crateName" "version" "build" "authors" "colors"
|
||||
];
|
||||
extraDerivationAttrs = lib.filterAttrs (n: v: ! lib.elem n processedAttrs) crate;
|
||||
buildInputs_ = buildInputs;
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (rec {
|
||||
|
||||
inherit (crate) crateName;
|
||||
|
||||
@ -372,7 +378,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
installPhase = installCrate crateName;
|
||||
|
||||
}) {
|
||||
} // extraDerivationAttrs)) {
|
||||
rust = rustc;
|
||||
release = true;
|
||||
verbose = true;
|
||||
|
@ -1,34 +0,0 @@
|
||||
{ fetchurl, stdenv }:
|
||||
let
|
||||
inherit (stdenv) system;
|
||||
|
||||
version = "0.1.12";
|
||||
|
||||
hashes = {
|
||||
x86_64-linux = "1hxlavcxy374yypfamlkygjg662lhll8j434qcvdawkvlidg5ii5";
|
||||
x86_64-darwin = "1jkvhh710gwjnnjx59kaplx2ncfvkx9agfa76rr94sbjqq4igddm";
|
||||
};
|
||||
hash = hashes. ${system} or badSystem;
|
||||
|
||||
badSystem = throw "missing bootstrap hash for platform ${system}";
|
||||
|
||||
platforms = {
|
||||
x86_64-linux = "x86_64-unknown-linux-musl";
|
||||
x86_64-darwin = "x86_64-apple-darwin";
|
||||
};
|
||||
platform = platforms . ${system} or badSystem;
|
||||
|
||||
in stdenv.mkDerivation {
|
||||
name = "cargo-vendor-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/alexcrichton/cargo-vendor/releases/download/${version}/cargo-vendor-${version}-${platform}.tar.gz";
|
||||
sha256 = hash;
|
||||
};
|
||||
|
||||
phases = "unpackPhase installPhase";
|
||||
|
||||
installPhase = ''
|
||||
install -Dm755 cargo-vendor $out/bin/cargo-vendor
|
||||
'';
|
||||
}
|
1487
pkgs/build-support/rust/cargo-vendor/cargo-vendor.nix
Normal file
1487
pkgs/build-support/rust/cargo-vendor/cargo-vendor.nix
Normal file
File diff suppressed because it is too large
Load Diff
10
pkgs/build-support/rust/cargo-vendor/default.nix
Normal file
10
pkgs/build-support/rust/cargo-vendor/default.nix
Normal file
@ -0,0 +1,10 @@
|
||||
{ callPackage, fetchFromGitHub }:
|
||||
|
||||
(callPackage ./cargo-vendor.nix {}).cargo_vendor_0_1_13.overrideAttrs (attrs: {
|
||||
src = fetchFromGitHub {
|
||||
owner = "alexcrichton";
|
||||
repo = "cargo-vendor";
|
||||
rev = "0.1.13";
|
||||
sha256 = "0ljh2d65zpxp26a95b3czy5ai2z2dm87x7ndfdc1s0v1fsy69kn4";
|
||||
};
|
||||
})
|
@ -1,9 +1,38 @@
|
||||
{ pkgconfig, sqlite, openssl, ... }:
|
||||
{ stdenv, pkgconfig, curl, darwin, libiconv, libgit2, libssh2,
|
||||
openssl, sqlite, zlib, ... }:
|
||||
|
||||
let
|
||||
inherit (darwin.apple_sdk.frameworks) CoreFoundation;
|
||||
in
|
||||
{
|
||||
cargo = attrs: {
|
||||
buildInputs = [ openssl zlib curl ]
|
||||
++ stdenv.lib.optionals stdenv.isDarwin [ CoreFoundation libiconv ];
|
||||
# TODO: buildRustCrate seems to use incorrect default inference
|
||||
crateBin = [ { name = "cargo"; path = "src/bin/cargo.rs"; } ];
|
||||
};
|
||||
cargo-vendor = attrs: {
|
||||
buildInputs = [ openssl zlib curl ];
|
||||
# TODO: this defaults to cargo_vendor; needs to be cargo-vendor to
|
||||
# be considered a cargo subcommand.
|
||||
crateBin = [ { name = "cargo-vendor"; path = "src/main.rs"; } ];
|
||||
};
|
||||
curl-sys = attrs: {
|
||||
buildInputs = [ pkgconfig curl ];
|
||||
};
|
||||
libgit2-sys = attrs: {
|
||||
LIBGIT2_SYS_USE_PKG_CONFIG = true;
|
||||
buildInputs = [ pkgconfig openssl zlib libgit2 ];
|
||||
};
|
||||
libsqlite3-sys = attrs: {
|
||||
buildInputs = [ pkgconfig sqlite ];
|
||||
};
|
||||
libssh2-sys = attrs: {
|
||||
buildInputs = [ pkgconfig openssl zlib libssh2 ];
|
||||
};
|
||||
openssl = attrs: {
|
||||
buildInputs = [ openssl ];
|
||||
};
|
||||
openssl-sys = attrs: {
|
||||
buildInputs = [ pkgconfig openssl ];
|
||||
};
|
||||
|
@ -1,8 +1,6 @@
|
||||
{ fetchurl, stdenv, path, cacert, git, rust }:
|
||||
{ callPackage, fetchurl, stdenv, path, cacert, git, rust }:
|
||||
let
|
||||
cargoVendor = import ./cargo-vendor.nix {
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
cargoVendor = callPackage ./cargo-vendor {};
|
||||
|
||||
fetchcargo = import ./fetchcargo.nix {
|
||||
inherit stdenv cacert git rust cargoVendor;
|
||||
|
@ -134,6 +134,9 @@ stdenv.mkDerivation rec {
|
||||
CGO_ENABLED = 1;
|
||||
GOROOT_BOOTSTRAP = "${goBootstrap}/share/go";
|
||||
|
||||
# Hopefully avoids test timeouts on Hydra
|
||||
GO_TEST_TIMEOUT_SCALE = 3;
|
||||
|
||||
# The go build actually checks for CC=*/clang and does something different, so we don't
|
||||
# just want the generic `cc` here.
|
||||
CC = if stdenv.isDarwin then "clang" else "cc";
|
||||
|
@ -91,6 +91,7 @@ rec {
|
||||
buildInputs = [ makeWrapper ] ++ stdenv.lib.optional stdenv.isDarwin Security;
|
||||
|
||||
installPhase = ''
|
||||
patchShebangs ./install.sh
|
||||
./install.sh --prefix=$out \
|
||||
--components=cargo
|
||||
|
||||
|
@ -61,6 +61,6 @@ rustPlatform.buildRustPackage rec {
|
||||
description = "Downloads your Rust project's dependencies and builds your project";
|
||||
maintainers = with maintainers; [ wizeman retrry ];
|
||||
license = [ licenses.mit licenses.asl20 ];
|
||||
platforms = [ "x86_64-linux" "x86_64-darwin" ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
@ -348,12 +348,12 @@ in {
|
||||
};
|
||||
|
||||
php71 = generic {
|
||||
version = "7.1.13";
|
||||
sha256 = "18cqry8jy7q9fp82p3n9ndxffyba6f6q3maz3100jq245lfsbz9m";
|
||||
version = "7.1.14";
|
||||
sha256 = "1x41qmq66r0ff0573ln34d3qbzwg5z20nagsn1b6frfpkq9zvck3";
|
||||
};
|
||||
|
||||
php72 = generic {
|
||||
version = "7.2.1";
|
||||
sha256 = "0ygbcilbp3fiswd240ib2mvnhy0yy0az8kjzpjfd4kca4qzpj1py";
|
||||
version = "7.2.2";
|
||||
sha256 = "1vjaixm4f7rz9vz1yrlzmn9rpp01vd7b74m83qjg4wblw5caqhgq";
|
||||
};
|
||||
}
|
||||
|
33
pkgs/development/libraries/AntTweakBar/default.nix
Normal file
33
pkgs/development/libraries/AntTweakBar/default.nix
Normal file
@ -0,0 +1,33 @@
|
||||
{ stdenv, fetchurl, unzip, xlibs, mesa }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "AntTweakBar-1.16";
|
||||
|
||||
buildInputs = [ unzip xlibs.libX11 mesa ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/project/anttweakbar/AntTweakBar_116.zip";
|
||||
sha256 = "0z3frxpzf54cjs07m6kg09p7nljhr7140f4pznwi7srwq4cvgkpv";
|
||||
};
|
||||
|
||||
postPatch = "cd src";
|
||||
installPhase = ''
|
||||
mkdir -p $out/lib/
|
||||
cp ../lib/{libAntTweakBar.so,libAntTweakBar.so.1,libAntTweakBar.a} $out/lib/
|
||||
cp -r ../include $out/
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Add a light/intuitive GUI to OpenGL applications";
|
||||
longDescription = ''
|
||||
A small and easy-to-use C/C++ library that allows to quickly add a light
|
||||
and intuitive graphical user interface into graphic applications based on OpenGL
|
||||
(compatibility and core profiles), DirectX 9, DirectX 10 or DirectX 11
|
||||
to interactively tweak parameters on-screen
|
||||
'';
|
||||
homepage = http://anttweakbar.sourceforge.net/;
|
||||
license = stdenv.lib.licenses.zlib;
|
||||
maintainers = [ stdenv.lib.maintainers.razvan ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
@ -11,6 +11,12 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [ python2 ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace plugins/SISCone/SISConeBasePlugin.cc \
|
||||
--replace 'structure_of<UserScaleBase::StructureType>()' \
|
||||
'structure_of<UserScaleBase>()'
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
"--enable-allcxxplugins"
|
||||
"--enable-pyext"
|
||||
|
37
pkgs/development/python-modules/globus-sdk/default.nix
Normal file
37
pkgs/development/python-modules/globus-sdk/default.nix
Normal file
@ -0,0 +1,37 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, flake8
|
||||
, nose2
|
||||
, mock
|
||||
, requests
|
||||
, pyjwt
|
||||
, fetchPypi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "globus-sdk";
|
||||
version = "1.4.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1nwdhhn9ib5ln56q8h3g42dl93jl67xlxkgl1wqkh7pacg00r4vs";
|
||||
};
|
||||
|
||||
checkPhase = ''
|
||||
py.test tests
|
||||
'';
|
||||
|
||||
# No tests in archive
|
||||
doCheck = false;
|
||||
|
||||
checkInputs = [ flake8 nose2 mock ];
|
||||
|
||||
propagatedBuildInputs = [ requests pyjwt ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A convenient Pythonic interface to Globus REST APIs, including the Transfer API and the Globus Auth API.";
|
||||
homepage = https://github.com/globus/globus-sdk-python;
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ ixxie ];
|
||||
};
|
||||
}
|
31
pkgs/development/python-modules/mwoauth/default.nix
Normal file
31
pkgs/development/python-modules/mwoauth/default.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, six
|
||||
, pyjwt
|
||||
, requests
|
||||
, oauthlib
|
||||
, requests_oauthlib
|
||||
, fetchPypi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mwoauth";
|
||||
version = "0.3.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1krqz755415z37z1znrc77vi4xyp5ys6fnq4zwcwixjjbzddpavj";
|
||||
};
|
||||
|
||||
# package has no tests
|
||||
doCheck = false;
|
||||
|
||||
propagatedBuildInputs = [ six pyjwt requests oauthlib requests_oauthlib ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A library designed to provide a simple means to performing an OAuth handshake with a MediaWiki installation with the OAuth Extension installed.";
|
||||
homepage = https://github.com/mediawiki-utilities/python-mwoauth;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ ixxie ];
|
||||
};
|
||||
}
|
46
pkgs/development/python-modules/oauthenticator/default.nix
Normal file
46
pkgs/development/python-modules/oauthenticator/default.nix
Normal file
@ -0,0 +1,46 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, jupyterhub
|
||||
, globus-sdk
|
||||
, mwoauth
|
||||
, codecov
|
||||
, flake8
|
||||
, pyjwt
|
||||
, pytest
|
||||
, pytestcov
|
||||
, pytest-tornado
|
||||
, requests-mock
|
||||
, pythonOlder
|
||||
, fetchPypi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "oauthenticator";
|
||||
version = "0.7.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0rlg63ii7sxj1xad2nx6wk1xgv3a8dm0az0q9g2v6hdv9cnc4b55";
|
||||
};
|
||||
|
||||
checkPhase = ''
|
||||
py.test oauthenticator/tests
|
||||
'';
|
||||
|
||||
# No tests in archive
|
||||
doCheck = false;
|
||||
|
||||
checkInputs = [ globus-sdk mwoauth codecov flake8 pytest
|
||||
pytestcov pytest-tornado requests-mock pyjwt ];
|
||||
|
||||
propagatedBuildInputs = [ jupyterhub ];
|
||||
|
||||
disabled = pythonOlder "3.4";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Authenticate JupyterHub users with common OAuth providers, including GitHub, Bitbucket, and more.";
|
||||
homepage = https://github.com/jupyterhub/oauthenticator;
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ ixxie ];
|
||||
};
|
||||
}
|
@ -1,24 +1,32 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, isPy3k
|
||||
, Mako, packaging, pysocks, pygments, ROPGadget
|
||||
, capstone, paramiko, pip, psutil
|
||||
, pyelftools, pypandoc, pyserial, dateutil
|
||||
, requests, tox, pandoc, unicorn, intervaltree }:
|
||||
, pyelftools, pyserial, dateutil
|
||||
, requests, tox, unicorn, intervaltree, fetchpatch }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "3.11.0";
|
||||
pname = "pwntools";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "609b3f0ba47c975f4dbedd3da2af4c5ca1b3a2aa13fb99240531b6a68edb87be";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ Mako packaging pysocks pygments ROPGadget capstone paramiko pip psutil pyelftools pypandoc pyserial dateutil requests tox pandoc unicorn intervaltree ];
|
||||
propagatedBuildInputs = [ Mako packaging pysocks pygments ROPGadget capstone paramiko pip psutil pyelftools pyserial dateutil requests tox unicorn intervaltree ];
|
||||
|
||||
disabled = isPy3k;
|
||||
doCheck = false; # no setuptools tests for the package
|
||||
|
||||
# Can be removed when 3.12.0 is released
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://github.com/Gallopsled/pwntools/pull/1098.patch";
|
||||
sha256 = "0p0h87npn1mwsd8ciab7lg74bk3ahlk5r0mjbvx4jhihl2gjc3z2";
|
||||
})
|
||||
];
|
||||
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "http://pwntools.com";
|
||||
description = "CTF framework and exploit development library";
|
||||
|
@ -27,6 +27,6 @@ buildPythonPackage rec {
|
||||
description = "Thin wrapper for pandoc";
|
||||
homepage = https://github.com/bebraw/pypandoc;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ bennofs kristoff3r ];
|
||||
maintainers = with maintainers; [ bennofs ];
|
||||
};
|
||||
}
|
||||
|
@ -11,6 +11,9 @@ buildPythonPackage rec {
|
||||
|
||||
propagatedBuildInputs = [ pytest aiohttp ];
|
||||
|
||||
# There are no tests
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/aio-libs/pytest-aiohttp/;
|
||||
description = "Pytest plugin for aiohttp support";
|
||||
|
28
pkgs/development/python-modules/pytest-tornado/default.nix
Normal file
28
pkgs/development/python-modules/pytest-tornado/default.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pytest
|
||||
, tornado
|
||||
, fetchPypi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytest-tornado";
|
||||
version = "0.4.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0b1r5im7qmbpmxhfvq13a6rp78sjjrrpysfnjkd9hggavgc75dr8";
|
||||
};
|
||||
|
||||
# package has no tests
|
||||
doCheck = false;
|
||||
|
||||
propagatedBuildInputs = [ pytest tornado ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A py.test plugin providing fixtures and markers to simplify testing of asynchronous tornado applications.";
|
||||
homepage = https://github.com/eugeniy/pytest-tornado;
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ ixxie ];
|
||||
};
|
||||
}
|
@ -0,0 +1,38 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchgit
|
||||
, isPy27
|
||||
, testfixtures
|
||||
, unittest2
|
||||
, webtest
|
||||
, pyramid
|
||||
, sqlalchemy
|
||||
, simplejson
|
||||
, mozsvc
|
||||
, cornice
|
||||
, pyramid_hawkauth
|
||||
, pymysql
|
||||
, pymysqlsa
|
||||
, umemcache
|
||||
, WSGIProxy
|
||||
, requests
|
||||
, pybrowserid
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "serversyncstorage-${version}";
|
||||
version = "1.6.11";
|
||||
disabled = !isPy27;
|
||||
|
||||
src = fetchgit {
|
||||
url = https://github.com/mozilla-services/server-syncstorage.git;
|
||||
rev = "refs/tags/${version}";
|
||||
sha256 = "197gj2jfs2c6nzs20j37kqxwi91wabavxnfm4rqmrjwhgqjwhnm0";
|
||||
};
|
||||
|
||||
buildInputs = [ testfixtures unittest2 webtest ];
|
||||
propagatedBuildInputs = [
|
||||
pyramid sqlalchemy simplejson mozsvc cornice pyramid_hawkauth pymysql
|
||||
pymysqlsa umemcache WSGIProxy requests pybrowserid
|
||||
];
|
||||
}
|
39
pkgs/development/python-modules/syncserver/default.nix
Normal file
39
pkgs/development/python-modules/syncserver/default.nix
Normal file
@ -0,0 +1,39 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchgit
|
||||
, isPy27
|
||||
, unittest2
|
||||
, cornice
|
||||
, gunicorn
|
||||
, pyramid
|
||||
, requests
|
||||
, simplejson
|
||||
, sqlalchemy
|
||||
, mozsvc
|
||||
, tokenserver
|
||||
, serversyncstorage
|
||||
, configparser
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "syncserver-${version}";
|
||||
version = "1.6.0";
|
||||
disabled = ! isPy27;
|
||||
|
||||
src = fetchgit {
|
||||
url = https://github.com/mozilla-services/syncserver.git;
|
||||
rev = "refs/tags/${version}";
|
||||
sha256 = "1fsiwihgq3z5b5kmssxxil5g2abfvsf6wfikzyvi4sy8hnym77mb";
|
||||
};
|
||||
|
||||
buildInputs = [ unittest2 ];
|
||||
propagatedBuildInputs = [
|
||||
cornice gunicorn pyramid requests simplejson sqlalchemy mozsvc tokenserver
|
||||
serversyncstorage configparser
|
||||
];
|
||||
|
||||
meta = {
|
||||
maintainers = [ ];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
36
pkgs/development/python-modules/tokenserver/default.nix
Normal file
36
pkgs/development/python-modules/tokenserver/default.nix
Normal file
@ -0,0 +1,36 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchgit
|
||||
, testfixtures
|
||||
, cornice
|
||||
, mozsvc
|
||||
, pybrowserid
|
||||
, tokenlib
|
||||
, pymysql
|
||||
, umemcache
|
||||
, hawkauthlib
|
||||
, alembic
|
||||
, pymysqlsa
|
||||
, paste
|
||||
, boto
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "tokenserver-${version}";
|
||||
version = "1.2.27";
|
||||
|
||||
src = fetchgit {
|
||||
url = https://github.com/mozilla-services/tokenserver.git;
|
||||
rev = "refs/tags/${version}";
|
||||
sha256 = "0il3bgjld495g9gxvvrm56kpan5swaizzg216qz3zxmb6w9ly3fm";
|
||||
};
|
||||
|
||||
doCheck = false;
|
||||
buildInputs = [ testfixtures ];
|
||||
propagatedBuildInputs = [ cornice mozsvc pybrowserid tokenlib
|
||||
pymysql umemcache hawkauthlib alembic pymysqlsa paste boto ];
|
||||
|
||||
meta = {
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, cmake, qmake, qtbase, perl, python, php, kcachegrind }:
|
||||
{ stdenv, fetchurl, cmake, qmake, qtbase, perl, python, php, kcachegrind, fetchpatch }:
|
||||
|
||||
let
|
||||
name = stdenv.lib.replaceStrings ["kcachegrind"] ["qcachegrind"] kcachegrind.name;
|
||||
@ -12,6 +12,14 @@ in stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ qmake ];
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "fix-qt5_10-build.patch";
|
||||
url = https://github.com/KDE/kcachegrind/commit/c41607a.patch;
|
||||
sha256 = "00kh5im3hpcarch8rc2dsgxsajfmd8vd7rry9x6mxrbkgr4ifq8y";
|
||||
})
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/bin
|
||||
cp -p converters/dprof2calltree $out/bin/dprof2calltree
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, fetchurl,
|
||||
{ stdenv, fetchFromGitHub, fetchurl, fetchzip,
|
||||
# Native build inputs
|
||||
cmake,
|
||||
autoconf, automake, libtool,
|
||||
@ -15,6 +15,8 @@ ncurses,
|
||||
libffi,
|
||||
libxml2,
|
||||
zlib,
|
||||
# PE (Windows) data, huge space savings if not needed
|
||||
withPEPatterns ? false,
|
||||
}:
|
||||
|
||||
let
|
||||
@ -53,9 +55,14 @@ let
|
||||
sha256 = "0r97n4n552ns571diz54qsgarihrxvbn7kvyv8wjyfs9ybrldxqj";
|
||||
};
|
||||
|
||||
retdec-support = fetchurl {
|
||||
retdec-support = fetchzip {
|
||||
url = "https://github.com/avast-tl/retdec-support/releases/download/2017-12-12/retdec-support_2017-12-12.tar.xz";
|
||||
sha256 = "6376af57a77147f1363896963d8c1b3745ddb9a6bcec83d63a5846c3f78aeef9";
|
||||
sha256 = if withPEPatterns then "0pchl7hb42dm0sdbmpr8d3c6xc0lm6cs4p6g6kdb2cr9c99gjzn3"
|
||||
else "1hcyq6bf4wk739kb53ic2bs71gsbx6zd07pc07lzfnxf8k497mhv";
|
||||
# Removing PE signatures reduces this from 3.8GB -> 642MB (uncompressed)
|
||||
extraPostFetch = stdenv.lib.optionalString (!withPEPatterns) ''
|
||||
rm -rf $out/generic/yara_patterns/static-code/pe
|
||||
'';
|
||||
};
|
||||
in stdenv.mkDerivation rec {
|
||||
name = "retdec-${version}";
|
||||
@ -90,13 +97,14 @@ in stdenv.mkDerivation rec {
|
||||
find . -wholename "*/deps/openssl/CMakeLists.txt" -print0 | \
|
||||
xargs -0 sed -i -e 's|OPENSSL_URL .*)|OPENSSL_URL ${openssl})|'
|
||||
|
||||
cat > cmake/install-share.sh <<EOF
|
||||
#!/bin/sh
|
||||
mkdir -p $out/share/retdec/
|
||||
ln -s ${retdec-support} $out/share/retdec/support
|
||||
EOF
|
||||
chmod +x cmake/*.sh
|
||||
patchShebangs cmake/*.sh
|
||||
|
||||
sed -i cmake/install-share.sh \
|
||||
-e 's|WGET_PARAMS.*|cp ${retdec-support} "$INSTALL_PATH/$ARCH_NAME"|' \
|
||||
-e '/echo "RUN: wget/,+7d'
|
||||
|
||||
substituteInPlace scripts/unpack.sh --replace ' upx -d' ' ${upx}/bin/upx -d'
|
||||
substituteInPlace scripts/config.sh --replace /usr/bin/time ${time}/bin/time
|
||||
'';
|
||||
@ -105,9 +113,8 @@ in stdenv.mkDerivation rec {
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A retargetable machine-code decompiler based on LLVM";
|
||||
inherit (src.meta) homepage;
|
||||
homepage = https://retdec.com;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ dtzWill ];
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, lib, openssh, buildbot-worker, pythonPackages, runCommand, makeWrapper }:
|
||||
{ stdenv, lib, openssh, buildbot-worker, buildbot-pkg, pythonPackages, runCommand, makeWrapper }:
|
||||
|
||||
let
|
||||
withPlugins = plugins: runCommand "wrapped-${package.name}" {
|
||||
@ -14,11 +14,11 @@ let
|
||||
package = pythonPackages.buildPythonApplication rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "buildbot";
|
||||
version = "0.9.11";
|
||||
version = "0.9.15.post1";
|
||||
|
||||
src = pythonPackages.fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1s3y218wry7502xp4zxccf3z996xm8cnp3dcxl7m5ldmmb055qwv";
|
||||
sha256 = "01m5x4lpz90lqf8j0s2c26gqb5yzan6x9d1ffgmrklwf0bljkwni";
|
||||
};
|
||||
|
||||
buildInputs = with pythonPackages; [
|
||||
@ -36,6 +36,7 @@ let
|
||||
pyflakes
|
||||
openssh
|
||||
buildbot-worker
|
||||
buildbot-pkg
|
||||
treq
|
||||
];
|
||||
|
||||
|
27
pkgs/development/tools/build-managers/buildbot/pkg.nix
Normal file
27
pkgs/development/tools/build-managers/buildbot/pkg.nix
Normal file
@ -0,0 +1,27 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, setuptools }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "buildbot-pkg";
|
||||
version = "0.9.15.post1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0gsa5fi1gkwnz8dsrl2s5kzcfawnj3nl8g8h6z1winz627l9n8sh";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ setuptools ];
|
||||
|
||||
postPatch = ''
|
||||
# Their listdir function filters out `node_modules` folders.
|
||||
# Do we have to care about that with Nix...?
|
||||
substituteInPlace buildbot_pkg.py --replace "os.listdir = listdir" ""
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://buildbot.net/;
|
||||
description = "Buildbot Packaging Helper";
|
||||
maintainers = with maintainers; [ nand0p ryansydnor ];
|
||||
license = licenses.gpl2;
|
||||
};
|
||||
}
|
@ -1,27 +1,6 @@
|
||||
{ stdenv, pythonPackages }:
|
||||
{ stdenv, pythonPackages, buildbot-pkg }:
|
||||
|
||||
let
|
||||
buildbot-pkg = pythonPackages.buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "buildbot-pkg";
|
||||
version = "0.9.11";
|
||||
|
||||
src = pythonPackages.fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1gh7wj9z7n7yfs219jbv9pdd2w8dwj6qpa090ffjkfpgd3xana33";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with pythonPackages; [ setuptools ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://buildbot.net/;
|
||||
description = "Buildbot Packaging Helper";
|
||||
maintainers = with maintainers; [ nand0p ryansydnor ];
|
||||
license = licenses.gpl2;
|
||||
};
|
||||
};
|
||||
|
||||
in {
|
||||
{
|
||||
www = pythonPackages.buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "buildbot_www";
|
||||
@ -32,7 +11,7 @@ in {
|
||||
|
||||
src = pythonPackages.fetchPypi {
|
||||
inherit pname version format;
|
||||
sha256 = "0fk1swdncg4nha744mzkf6jqh1zv1cfhnqvd19669kjcyjx9i68d";
|
||||
sha256 = "19cnzp5prima3jrk525xspw7vqc5pjln2nihj4kc3w90dhzllj8x";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
@ -50,7 +29,7 @@ in {
|
||||
|
||||
src = pythonPackages.fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "16wxgnh35916c2gw34971ynx319lnm9addhqvii885vid44pqim0";
|
||||
sha256 = "1j6aw2j2sl7ix8rb67pbs6nfvv8v3smgkvqzsjsyh5sdfr2663cg";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with pythonPackages; [ buildbot-pkg ];
|
||||
@ -70,7 +49,7 @@ in {
|
||||
|
||||
src = pythonPackages.fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1hcr8xsc0ajfg2vz2h8g5s8ypsp32kdplgqp21jh8z5y0a6nzqsl";
|
||||
sha256 = "0k0wd4rq034bij2flfjv60h8czkfn836bnaa7hwsrl58gxds39m4";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with pythonPackages; [ buildbot-pkg ];
|
||||
@ -90,7 +69,7 @@ in {
|
||||
|
||||
src = pythonPackages.fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0aw1073xq549q5jkjk31zhqpasp8jiy4gch0fjyw8qy0dax8hc7r";
|
||||
sha256 = "08ng56jmy50s3zyn6wxizji1zhgzhi65z7w3wljg02qrbd5688gj";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with pythonPackages; [ buildbot-pkg ];
|
||||
@ -110,7 +89,7 @@ in {
|
||||
|
||||
src = pythonPackages.fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0x99mdmn1ngcnmkxr40hwqafsq48jybdz45y5kpc0yw68n0bfwmv";
|
||||
sha256 = "15fm72yymv873n3vsw9kprypcf6jzln18v4lb062n8lqw9pykwb1";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with pythonPackages; [ buildbot-pkg ];
|
||||
|
@ -3,11 +3,11 @@
|
||||
pythonPackages.buildPythonApplication (rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "buildbot-worker";
|
||||
version = "0.9.11";
|
||||
version = "0.9.15.post1";
|
||||
|
||||
src = pythonPackages.fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0lb8kwg3m9jgrww929d5nrjs4rj489mb4dnsdxcbdb358jbbym22";
|
||||
sha256 = "12zscqb218w88y9fd1jwfn4cr2sw35j998d0jlgd22bch020sy65";
|
||||
};
|
||||
|
||||
buildInputs = with pythonPackages; [ setuptoolsTrial mock ];
|
||||
|
@ -3,42 +3,41 @@ let
|
||||
deps = import ./requirements.nix { inherit pkgs; };
|
||||
in
|
||||
python27Packages.buildPythonApplication rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "gdbgui";
|
||||
version = "0.10.1.0";
|
||||
name = "${pname}-${version}";
|
||||
pname = "gdbgui";
|
||||
version = "0.11.0.0";
|
||||
|
||||
buildInputs = [ gdb ];
|
||||
propagatedBuildInputs = builtins.attrValues deps.packages;
|
||||
buildInputs = [ gdb ];
|
||||
propagatedBuildInputs = builtins.attrValues deps.packages;
|
||||
|
||||
src = python27Packages.fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1585vjbrc8r0a7069aism66c0kkj91yklpdblb9c34570zbpabvs";
|
||||
};
|
||||
src = python27Packages.fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "09bfrln16ai5azpjan1q24xz700sxsaa3ndynq8c8qdan82bfi1g";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
echo ${version} > gdbgui/VERSION.txt
|
||||
'';
|
||||
postPatch = ''
|
||||
echo ${version} > gdbgui/VERSION.txt
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/gdbgui \
|
||||
--prefix PATH : ${stdenv.lib.makeBinPath [ gdb ]}
|
||||
'';
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/gdbgui \
|
||||
--prefix PATH : ${stdenv.lib.makeBinPath [ gdb ]}
|
||||
'';
|
||||
|
||||
# make /etc/protocols accessible to fix socket.getprotobyname('tcp') in sandbox
|
||||
preCheck = stdenv.lib.optionalString stdenv.isLinux ''
|
||||
export NIX_REDIRECTS=/etc/protocols=${pkgs.iana-etc}/etc/protocols \
|
||||
LD_PRELOAD=${pkgs.libredirect}/lib/libredirect.so
|
||||
'';
|
||||
# make /etc/protocols accessible to fix socket.getprotobyname('tcp') in sandbox
|
||||
preCheck = stdenv.lib.optionalString stdenv.isLinux ''
|
||||
export NIX_REDIRECTS=/etc/protocols=${pkgs.iana-etc}/etc/protocols \
|
||||
LD_PRELOAD=${pkgs.libredirect}/lib/libredirect.so
|
||||
'';
|
||||
|
||||
postCheck = stdenv.lib.optionalString stdenv.isLinux ''
|
||||
unset NIX_REDIRECTS LD_PRELOAD
|
||||
'';
|
||||
postCheck = stdenv.lib.optionalString stdenv.isLinux ''
|
||||
unset NIX_REDIRECTS LD_PRELOAD
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A browser-based frontend for GDB";
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ yrashk ];
|
||||
};
|
||||
|
||||
}
|
||||
meta = with stdenv.lib; {
|
||||
description = "A browser-based frontend for GDB";
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ yrashk ];
|
||||
};
|
||||
}
|
||||
|
@ -2,10 +2,10 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "fnotifystat-${version}";
|
||||
version = "0.01.17";
|
||||
version = "0.02.00";
|
||||
src = fetchurl {
|
||||
url = "http://kernel.ubuntu.com/~cking/tarballs/fnotifystat/fnotifystat-${version}.tar.gz";
|
||||
sha256 = "0ncfbrpyb3ak49nrdr4cb3w082n9s181lizfqx51zi9rdgkj1vm3";
|
||||
sha256 = "0sfzmggfhhhp3vxn1s61b5bacr2hz6r7y699n3nysdciaa2scgdq";
|
||||
};
|
||||
installFlags = [ "DESTDIR=$(out)" ];
|
||||
postInstall = ''
|
||||
|
@ -2,10 +2,10 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "forkstat-${version}";
|
||||
version = "0.02.00";
|
||||
version = "0.02.02";
|
||||
src = fetchurl {
|
||||
url = "http://kernel.ubuntu.com/~cking/tarballs/forkstat/forkstat-${version}.tar.gz";
|
||||
sha256 = "07df2lb32lbr2ggi84h9pjy6ig18n2961ksji4x1hhb4cvc175dg";
|
||||
sha256 = "02iqi4xjg2hl4paw88fz9jb88a9p4zprvq3g56cd7jwfx3vmw5a4";
|
||||
};
|
||||
installFlags = [ "DESTDIR=$(out)" ];
|
||||
postInstall = ''
|
||||
|
@ -2,10 +2,10 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "powerstat-${version}";
|
||||
version = "0.02.12";
|
||||
version = "0.02.15";
|
||||
src = fetchurl {
|
||||
url = "http://kernel.ubuntu.com/~cking/tarballs/powerstat/powerstat-${version}.tar.gz";
|
||||
sha256 = "16ls3rs1wfckl0b2szqqgiv072afy4qjd3r4kz4vf2qj77kjm06w";
|
||||
sha256 = "0m8662qv77nzbwkdpydiz87kd75cjjajgp30j6mc5padyw65bxxx";
|
||||
};
|
||||
installFlags = [ "DESTDIR=$(out)" ];
|
||||
postInstall = ''
|
||||
|
@ -2,10 +2,10 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "smemstat-${version}";
|
||||
version = "0.01.17";
|
||||
version = "0.01.18";
|
||||
src = fetchurl {
|
||||
url = "http://kernel.ubuntu.com/~cking/tarballs/smemstat/smemstat-${version}.tar.gz";
|
||||
sha256 = "093ifrz688cm0kmzz1c6himhbdr75ig1mcaapmqy8jadc1gaw2im";
|
||||
sha256 = "0g262gilj2jk365wj4yl93ifppgvc9rx7dmlw6ychbv72v2pbv6w";
|
||||
};
|
||||
buildInputs = [ ncurses ];
|
||||
installFlags = [ "DESTDIR=$(out)" ];
|
||||
|
@ -7278,6 +7278,9 @@ with pkgs;
|
||||
buildbot-worker = callPackage ../development/tools/build-managers/buildbot/worker.nix {
|
||||
pythonPackages = python2Packages;
|
||||
};
|
||||
buildbot-pkg = callPackage ../development/tools/build-managers/buildbot/pkg.nix {
|
||||
inherit (python2Packages) buildPythonPackage fetchPypi setuptools;
|
||||
};
|
||||
buildbot-plugins = callPackages ../development/tools/build-managers/buildbot/plugins.nix {
|
||||
pythonPackages = python2Packages;
|
||||
};
|
||||
@ -7862,6 +7865,9 @@ with pkgs;
|
||||
remake = callPackage ../development/tools/build-managers/remake { };
|
||||
|
||||
retdec = callPackage ../development/tools/analysis/retdec { };
|
||||
retdec-full = callPackage ../development/tools/analysis/retdec {
|
||||
withPEPatterns = true;
|
||||
};
|
||||
|
||||
rhc = callPackage ../development/tools/rhc { };
|
||||
|
||||
@ -8086,6 +8092,8 @@ with pkgs;
|
||||
|
||||
amrwb = callPackage ../development/libraries/amrwb { };
|
||||
|
||||
anttweakbar = callPackage ../development/libraries/AntTweakBar { };
|
||||
|
||||
appstream = callPackage ../development/libraries/appstream { };
|
||||
|
||||
appstream-glib = callPackage ../development/libraries/appstream-glib { };
|
||||
|
@ -2931,10 +2931,10 @@ let self = _self // overrides; _self = with self; {
|
||||
};
|
||||
|
||||
CryptX = buildPerlPackage rec {
|
||||
name = "CryptX-0.055";
|
||||
name = "CryptX-0.057";
|
||||
src = fetchurl {
|
||||
url = "mirror://cpan/authors/id/M/MI/MIK/${name}.tar.gz";
|
||||
sha256 = "4d680e8356497fbd2c66114a2bfbde753d77930f997430ba077db66a4458cee9";
|
||||
sha256 = "b85fffbc8ecc0b8f1f768926c6b31e755e6df15556462d101d45ef5c48f9d025";
|
||||
};
|
||||
propagatedBuildInputs = [ JSONMaybeXS ];
|
||||
meta = {
|
||||
|
@ -8,8 +8,6 @@ let
|
||||
};
|
||||
isPhpOlder55 = pkgs.lib.versionOlder php.version "5.5";
|
||||
isPhp7 = pkgs.lib.versionAtLeast php.version "7.0";
|
||||
isPhp72 = pkgs.lib.versionAtLeast php.version "7.2";
|
||||
isPhpOlder7 = pkgs.lib.versionOlder php.version "7.0";
|
||||
|
||||
apcu = if isPhp7 then apcu51 else apcu40;
|
||||
|
||||
@ -181,7 +179,7 @@ let
|
||||
buildInputs = [ pkgs.spidermonkey_1_8_5 ];
|
||||
};
|
||||
|
||||
xdebug = if isPhp72 then xdebug26 else if isPhp7 then xdebug25 else xdebug23;
|
||||
xdebug = if isPhp7 then xdebug26 else xdebug23;
|
||||
|
||||
xdebug23 = assert !isPhp7; buildPecl {
|
||||
name = "xdebug-2.3.1";
|
||||
@ -192,19 +190,10 @@ let
|
||||
checkTarget = "test";
|
||||
};
|
||||
|
||||
xdebug25 = assert !isPhp72; buildPecl {
|
||||
name = "xdebug-2.5.0";
|
||||
xdebug26 = assert isPhp7; buildPecl {
|
||||
name = "xdebug-2.6.0";
|
||||
|
||||
sha256 = "03c9y25a3gc3kpav0cdgmhjixcaly6974hx7wgihi0wlchgavmlb";
|
||||
|
||||
doCheck = true;
|
||||
checkTarget = "test";
|
||||
};
|
||||
|
||||
xdebug26 = assert !isPhpOlder7; buildPecl {
|
||||
name = "xdebug-2.6.0beta1";
|
||||
|
||||
sha256 = "0zaj821jbpaqqcbr9a64sa27my9n980pmyy9kxrvvjqq3qg6dpj9";
|
||||
sha256 = "1p6b54ypi5lq4ka3pyy2gswdf1d5vjb9y8lp9fqcp3zn7g04q9mm";
|
||||
|
||||
doCheck = true;
|
||||
checkTarget = "test";
|
||||
@ -394,11 +383,11 @@ let
|
||||
|
||||
php-cs-fixer = pkgs.stdenv.mkDerivation rec {
|
||||
name = "php-cs-fixer-${version}";
|
||||
version = "2.10.0";
|
||||
version = "2.10.2";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v${version}/php-cs-fixer.phar";
|
||||
sha256 = "0mi72sg0gms2lg1r1b6qxhsxgi3v07kczmr1hnk7pwa47jb6572q";
|
||||
sha256 = "1h089zddza2n5cznq340ijvc34d1ffsja9ks0b67nax52w0197mi";
|
||||
};
|
||||
|
||||
phases = [ "installPhase" ];
|
||||
|
@ -225,6 +225,8 @@ in {
|
||||
|
||||
diff-match-patch = callPackage ../development/python-modules/diff-match-patch { };
|
||||
|
||||
globus-sdk = callPackage ../development/python-modules/globus-sdk { };
|
||||
|
||||
gssapi = callPackage ../development/python-modules/gssapi { };
|
||||
|
||||
h5py = callPackage ../development/python-modules/h5py {
|
||||
@ -243,6 +245,8 @@ in {
|
||||
mpi = pkgs.openmpi;
|
||||
};
|
||||
|
||||
mwoauth = callPackage ../development/python-modules/mwoauth { };
|
||||
|
||||
neuron = pkgs.neuron.override {
|
||||
inherit python;
|
||||
};
|
||||
@ -261,6 +265,8 @@ in {
|
||||
|
||||
ntlm-auth = callPackage ../development/python-modules/ntlm-auth { };
|
||||
|
||||
oauthenticator = callPackage ../development/python-modules/oauthenticator { };
|
||||
|
||||
plantuml = callPackage ../tools/misc/plantuml { };
|
||||
|
||||
Pmw = callPackage ../development/python-modules/Pmw { };
|
||||
@ -342,6 +348,8 @@ in {
|
||||
slurm = pkgs.slurm;
|
||||
};
|
||||
|
||||
pytest-tornado = callPackage ../development/python-modules/pytest-tornado { };
|
||||
|
||||
python-sql = callPackage ../development/python-modules/python-sql { };
|
||||
|
||||
python-stdnum = callPackage ../development/python-modules/python-stdnum { };
|
||||
@ -364,16 +372,22 @@ in {
|
||||
|
||||
salmon-mail = callPackage ../development/python-modules/salmon-mail { };
|
||||
|
||||
serversyncstorage = callPackage ../development/python-modules/serversyncstorage {};
|
||||
|
||||
simpleeval = callPackage ../development/python-modules/simpleeval { };
|
||||
|
||||
sip = callPackage ../development/python-modules/sip { };
|
||||
|
||||
supervise_api = callPackage ../development/python-modules/supervise_api { };
|
||||
|
||||
syncserver = callPackage ../development/python-modules/syncserver {};
|
||||
|
||||
tables = callPackage ../development/python-modules/tables {
|
||||
hdf5 = pkgs.hdf5.override { zlib = pkgs.zlib; };
|
||||
};
|
||||
|
||||
tokenserver = callPackage ../development/python-modules/tokenserver {};
|
||||
|
||||
unifi = callPackage ../development/python-modules/unifi { };
|
||||
|
||||
pyunbound = callPackage ../tools/networking/unbound/python.nix { };
|
||||
@ -19182,25 +19196,6 @@ EOF
|
||||
'';
|
||||
};
|
||||
|
||||
tokenserver = buildPythonPackage rec {
|
||||
name = "tokenserver-${version}";
|
||||
version = "1.2.11";
|
||||
|
||||
src = pkgs.fetchgit {
|
||||
url = https://github.com/mozilla-services/tokenserver.git;
|
||||
rev = "refs/tags/${version}";
|
||||
sha256 = "1cvkvxcday1qc3zyarasj3l7322w8afhrcxcsvb5wac1ryh1w6y2";
|
||||
};
|
||||
|
||||
doCheck = false;
|
||||
buildInputs = [ self.testfixtures ];
|
||||
propagatedBuildInputs = with self; [ cornice mozsvc pybrowserid tokenlib ];
|
||||
|
||||
meta = {
|
||||
platforms = platforms.all;
|
||||
};
|
||||
};
|
||||
|
||||
testfixtures = callPackage ../development/python-modules/testfixtures {};
|
||||
|
||||
tissue = buildPythonPackage rec {
|
||||
@ -20130,49 +20125,6 @@ EOF
|
||||
};
|
||||
};
|
||||
|
||||
syncserver = buildPythonPackage rec {
|
||||
name = "syncserver-${version}";
|
||||
version = "1.5.2";
|
||||
disabled = ! isPy27;
|
||||
|
||||
src = pkgs.fetchgit {
|
||||
url = https://github.com/mozilla-services/syncserver.git;
|
||||
rev = "refs/tags/${version}";
|
||||
sha256 = "1pk4rvwvsd1vxbpzg39hxqi8pi9v6b4s6m0mqbpg88s6s7i6ks3m";
|
||||
};
|
||||
|
||||
buildInputs = with self; [ unittest2 ];
|
||||
propagatedBuildInputs = with self; [
|
||||
cornice gunicorn pyramid requests simplejson sqlalchemy mozsvc tokenserver
|
||||
serversyncstorage configparser
|
||||
];
|
||||
|
||||
meta = {
|
||||
maintainers = [ ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
};
|
||||
|
||||
serversyncstorage = buildPythonPackage rec {
|
||||
name = "serversyncstorage-${version}";
|
||||
version = "1.5.13";
|
||||
disabled = !isPy27;
|
||||
|
||||
src = pkgs.fetchgit {
|
||||
url = https://github.com/mozilla-services/server-syncstorage.git;
|
||||
rev = "refs/tags/${version}";
|
||||
sha256 = "0m14v7n105y06w3mdp35pyxyzjj5vqwbznzdbixhkms3df6md2lq";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [
|
||||
pyramid sqlalchemy simplejson mozsvc cornice pyramid_hawkauth pymysql
|
||||
pymysqlsa umemcache WSGIProxy requests pybrowserid
|
||||
];
|
||||
buildInputs = with self; [ testfixtures unittest2 webtest ];
|
||||
|
||||
#doCheck = false; # lazy packager
|
||||
};
|
||||
|
||||
WSGIProxy = buildPythonPackage rec {
|
||||
name = "WSGIProxy-${version}";
|
||||
version = "0.2.2";
|
||||
|
Loading…
Reference in New Issue
Block a user