Merge branch 'staging-next' into staging
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, lib, fetchgit, python, gyp, util-linux }:
|
||||
{ stdenv, lib, fetchgit, python2, util-linux }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "bud";
|
||||
@@ -11,10 +11,12 @@ stdenv.mkDerivation {
|
||||
sha256 = "08yr6l4lc2m6rng06253fcaznf6sq0v053wfr8bbym42c32z0xdh";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
python gyp
|
||||
nativeBuildInputs = [
|
||||
python2 python2.pkgs.gyp
|
||||
] ++ lib.optional stdenv.isLinux util-linux;
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
buildPhase = ''
|
||||
python ./gyp_bud -f make
|
||||
make -C out
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchgit, python, pythonPackages, makeWrapper }:
|
||||
{ lib, stdenv, fetchgit, python3Packages, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
|
||||
@@ -12,7 +12,9 @@ stdenv.mkDerivation {
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
propagatedBuildInputs = with pythonPackages; [ requests vobject lxml ];
|
||||
propagatedBuildInputs = with python3Packages; [ requests vobject lxml ];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
doCheck = false; # no test
|
||||
|
||||
@@ -20,7 +22,7 @@ stdenv.mkDerivation {
|
||||
mkdir -p $out/bin
|
||||
cp $src/carddav-util.py $out/bin
|
||||
|
||||
pythondir="$out/lib/${python.libPrefix}/site-packages"
|
||||
pythondir="$out/lib/${python3Packages.python.sitePackages}"
|
||||
mkdir -p "$pythondir"
|
||||
cp $src/carddav.py "$pythondir"
|
||||
'';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{lib, stdenv, fetchurl, which, autoreconfHook, pkg-config, vala, python, libsearpc, libzdb, libuuid, libevent, sqlite, openssl}:
|
||||
{lib, stdenv, fetchurl, which, autoreconfHook, pkg-config, vala, python3, libsearpc, libzdb, libuuid, libevent, sqlite, openssl}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "6.1.8";
|
||||
@@ -10,11 +10,13 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0qlpnrz30ldrqnvbj59d54qdghxpxc5lsq6kf3dw2b93jnzkcmmm";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config which autoreconfHook vala python ];
|
||||
nativeBuildInputs = [ pkg-config which autoreconfHook vala python3 libsearpc ];
|
||||
propagatedBuildInputs = [ libsearpc libzdb libuuid libevent sqlite openssl ];
|
||||
|
||||
configureFlags = [ "--enable-server" ];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/haiwen/ccnet";
|
||||
description = "A framework for writing networked applications in C";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{ lib, stdenv, fetchFromGitHub, python
|
||||
{ lib, stdenv, fetchFromGitHub, python2
|
||||
, unzip, makeWrapper }:
|
||||
let
|
||||
python' = python.override {
|
||||
python' = python2.override {
|
||||
packageOverrides = self: super: {
|
||||
docker = self.buildPythonPackage rec {
|
||||
name = "docker-${version}";
|
||||
@@ -82,7 +82,7 @@ in stdenv.mkDerivation rec {
|
||||
|
||||
cat > $out/bin/dd-jmxfetch <<EOF
|
||||
#!/usr/bin/env bash
|
||||
exec ${python}/bin/python $out/agent/jmxfetch.py $@
|
||||
exec ${python'.interpreter} $out/agent/jmxfetch.py $@
|
||||
EOF
|
||||
chmod a+x $out/bin/dd-jmxfetch
|
||||
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "oapi-codegen";
|
||||
version = "1.5.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "deepmap";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-edIm1O+LQdmKhH8/5WuSsxVtOcf3VlkObGjIY+30mms=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-lhWnPZavtBEa4A76rvr0xw3L5W6HYK1Uw+PW8z8gWuU=";
|
||||
|
||||
# Tests use network
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Go client and server OpenAPI 3 generator";
|
||||
homepage = "https://github.com/deepmap/oapi-codegen";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.j4m3s ];
|
||||
};
|
||||
}
|
||||
@@ -2,16 +2,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "sniffglue";
|
||||
version = "0.11.1";
|
||||
version = "0.12.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kpcyrd";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0lkz25z0qy1giss4rnhkx9fvsdd8ckf4z1gqw46zl664x96bb705";
|
||||
sha256 = "sha256-bvLkeC5Hm1enaWJtYmnnINgpSO3tlg1SsEzeMSF9OXk=";
|
||||
};
|
||||
|
||||
cargoSha256 = "01ya9535whi2kviw57f25n8h05ckpb4bq1h7qav6srai97rm937s";
|
||||
cargoSha256 = "sha256-BUo3Y2tLvhOrk2w2GzYeWKpXH7TAOEdBI6vVtW2/cCs=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
@@ -20,7 +20,7 @@ rustPlatform.buildRustPackage rec {
|
||||
meta = with lib; {
|
||||
description = "Secure multithreaded packet sniffer";
|
||||
homepage = "https://github.com/kpcyrd/sniffglue";
|
||||
license = licenses.gpl3;
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ xrelkd ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
|
||||
@@ -1,22 +1,31 @@
|
||||
{ stdenv, lib, rustPlatform, fetchFromGitHub, Security }:
|
||||
{ stdenv, lib, openssl, pkg-config, rustPlatform, fetchFromGitHub, Security
|
||||
, libiconv }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "xh";
|
||||
version = "0.7.0";
|
||||
version = "0.9.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ducaale";
|
||||
repo = "xh";
|
||||
rev = "v${version}";
|
||||
sha256 = "0b7q0xbfbrhvpnxbm9bd1ncdza9k2kcmcir3qhqzb2pgsb5b5njx";
|
||||
sha256 = "pRVlcaPfuO7IMH2p0AQfVrCIXCRyF37WIirOJQkcAJE=";
|
||||
};
|
||||
|
||||
cargoSha256 = "02fgqys9qf0jzs2n230pyj151v6xbm6wm2rd9qm5gsib6zaq7gfa";
|
||||
cargoSha256 = "dXo1+QvCW3CWN2OhsqGh2Q1xet6cmi2xVy1Xk7s1YR8=";
|
||||
|
||||
buildInputs = lib.optional stdenv.isDarwin Security;
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = if stdenv.isDarwin then [ Security libiconv ] else [ openssl ];
|
||||
|
||||
# Get openssl-sys to use pkg-config
|
||||
OPENSSL_NO_VENDOR = 1;
|
||||
|
||||
checkFlagsArray = [ "--skip=basic_options" ];
|
||||
|
||||
# Nix build happens in sandbox without internet connectivity
|
||||
# disable tests as some of them require internet due to nature of application
|
||||
doCheck = false;
|
||||
doInstallCheck = true;
|
||||
postInstallCheck = ''
|
||||
$out/bin/xh --help > /dev/null
|
||||
|
||||
Reference in New Issue
Block a user