commit
c26b313084
@ -1,40 +0,0 @@ |
||||
{ stdenv |
||||
, lib |
||||
, rustPlatform |
||||
, fetchFromGitHub |
||||
, pkg-config |
||||
, libpulseaudio |
||||
, glib |
||||
, pango |
||||
, gtk3 |
||||
}: |
||||
|
||||
rustPlatform.buildRustPackage rec { |
||||
pname = "myxer"; |
||||
version = "1.2.1"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "Aurailus"; |
||||
repo = pname; |
||||
rev = version; |
||||
sha256 = "0bnhpzmx4yyasv0j7bp31q6jm20p0qwcia5bzmpkz1jhnc27ngix"; |
||||
}; |
||||
|
||||
cargoSha256 = "1cyh0nk627sgyr78rcnhj7af5jcahvjkiv5sz7xwqfdhvx5kqsk5"; |
||||
|
||||
nativeBuildInputs = [ pkg-config ]; |
||||
|
||||
buildInputs = [ libpulseaudio glib pango gtk3 ]; |
||||
|
||||
# Currently no tests are implemented, so we avoid building the package twice |
||||
doCheck = false; |
||||
|
||||
meta = with lib; { |
||||
broken = (stdenv.isLinux && stdenv.isAarch64); |
||||
description = "A modern Volume Mixer for PulseAudio"; |
||||
homepage = "https://github.com/Aurailus/Myxer"; |
||||
license = licenses.gpl3Only; |
||||
maintainers = with maintainers; [ erin ]; |
||||
platforms = platforms.linux; |
||||
}; |
||||
} |
@ -0,0 +1,37 @@ |
||||
{ fetchFromGitHub, |
||||
lib, stdenv, |
||||
cmake, zlib, libuv, openssl, |
||||
examples ? false |
||||
}: stdenv.mkDerivation rec { |
||||
pname = "cassandra-cpp-driver"; |
||||
version = "2.16.2"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "datastax"; |
||||
repo = "cpp-driver"; |
||||
rev = "refs/tags/${version}"; |
||||
sha256 = "sha256-NAvaRLhEvFjSmXcyM039wLC6IfLws2rkeRpbE5eL/rQ="; |
||||
}; |
||||
|
||||
LIBUV_ROOT_DIR = "${libuv}/"; |
||||
nativeBuildInputs = [ cmake ]; |
||||
buildInputs = [ zlib libuv openssl.dev ]; |
||||
|
||||
cmakeFlags = lib.attrsets.mapAttrsToList |
||||
(name: value: "-DCASS_BUILD_${name}:BOOL=${if value then "ON" else "OFF"}") { |
||||
EXAMPLES = examples; |
||||
}; |
||||
|
||||
meta = with lib; { |
||||
description = "DataStax CPP cassandra driver"; |
||||
longDescription = '' |
||||
A modern, feature-rich and highly tunable C/C++ client |
||||
library for Apache Cassandra 2.1+ using exclusively Cassandra’s |
||||
binary protocol and Cassandra Query Language v3. |
||||
''; |
||||
license = with licenses; [ asl20 ]; |
||||
platforms = platforms.x86_64; |
||||
homepage = "https://docs.datastax.com/en/developer/cpp-driver/"; |
||||
maintainers = [ maintainers.npatsakula ]; |
||||
}; |
||||
} |
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,6 @@ |
||||
#!/usr/bin/env nix-shell |
||||
#! nix-shell -i bash -p nodePackages.node2nix |
||||
|
||||
node2nix --nodejs-10 -i deps.json \ |
||||
node2nix --nodejs-12 -i deps.json \ |
||||
--no-copy-node-env \ |
||||
-e ../../../development/node-packages/node-env.nix -c node.nix |
||||
|
@ -0,0 +1,16 @@ |
||||
diff --git a/lib/url.c b/lib/url.c
|
||||
index a56e4b0..9f29593 100644
|
||||
--- a/lib/url.c
|
||||
+++ b/lib/url.c
|
||||
@@ -2971,6 +2971,12 @@ static CURLcode override_login(struct Curl_easy *data,
|
||||
/* don't update the user name below */
|
||||
userp = NULL;
|
||||
}
|
||||
+ /* no user was set but a password, set a blank user */
|
||||
+ if(userp && !*userp && passwdp && *passwdp) {
|
||||
+ *userp = strdup("");
|
||||
+ if(!*userp)
|
||||
+ return CURLE_OUT_OF_MEMORY;
|
||||
+ }
|
||||
}
|
||||
#endif
|
Loading…
Reference in new issue