Merge remote-tracking branch 'upstream/master' into openssl-1.1
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
{ stdenv, fetchurl, makeWrapper, jre }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "8.22";
|
||||
version = "8.23";
|
||||
name = "checkstyle-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/checkstyle/checkstyle/releases/download/checkstyle-${version}/checkstyle-${version}-all.jar";
|
||||
sha256 = "0lnpzh4c5m8xkdx8dxywp33i3zrnwj1nhgpqnqgx31aw3x0drw40";
|
||||
sha256 = "0k161c687q33rlm4r8h3f0ks5p2w8pj6kh258zdzk8kjfigfxkmx";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "flow";
|
||||
version = "0.104.0";
|
||||
version = "0.105.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "facebook";
|
||||
repo = "flow";
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "189pibz5b9md6dhiadr7616xlmmrx5zwh7brbyrvgbapq80k9lak";
|
||||
sha256 = "1zvg4yz9rpibvai66lb781qivgx9gr8222z3dix673dns06rd4nf";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
@@ -24,6 +24,6 @@ stdenv.mkDerivation rec {
|
||||
homepage = https://flow.org/;
|
||||
license = licenses.mit;
|
||||
platforms = ocamlPackages.ocaml.meta.platforms;
|
||||
maintainers = with maintainers; [ marsam puffnfresh globin ];
|
||||
maintainers = with maintainers; [ marsam puffnfresh ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,87 +1,77 @@
|
||||
{ stdenv, fetchurl, makeWrapper, ncurses, ocamlPackages, graphviz
|
||||
, ltl2ba, coq, why3, autoconf
|
||||
{ lib, stdenv, fetchurl, makeWrapper, writeText
|
||||
, autoconf, ncurses, graphviz, doxygen
|
||||
, ocamlPackages, ltl2ba, coq, why3,
|
||||
}:
|
||||
|
||||
let
|
||||
mkocamlpath = p: "${p}/lib/ocaml/${ocamlPackages.ocaml.version}/site-lib";
|
||||
ocamlpath = "${mkocamlpath ocamlPackages.apron}:${mkocamlpath ocamlPackages.mlgmpidl}";
|
||||
runtimeDeps = with ocamlPackages; [
|
||||
apron
|
||||
biniou
|
||||
camlzip
|
||||
easy-format
|
||||
menhir
|
||||
mlgmpidl
|
||||
num
|
||||
ocamlgraph
|
||||
why3
|
||||
yojson
|
||||
zarith
|
||||
];
|
||||
ocamlpath = lib.concatMapStringsSep ":" mkocamlpath runtimeDeps;
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "frama-c-${version}";
|
||||
version = "18.0";
|
||||
slang = "Argon";
|
||||
version = "19.0";
|
||||
slang = "Potassium";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://frama-c.com/download/frama-c-${version}-${slang}.tar.gz";
|
||||
sha256 = "0a88k2mhafj7pz3dzgsqkrc9digkxpnvr9jqq9nbzwq8qr02bca2";
|
||||
sha256 = "190n1n4k0xbycz25bn0d2gnfxd8w6scz3nlixl7w2k2jvpqlcs3n";
|
||||
|
||||
};
|
||||
|
||||
why2 = fetchurl {
|
||||
url = "http://why.lri.fr/download/why-2.40.tar.gz";
|
||||
sha256 = "0h1mbpxsgwvf3pbl0qbg22j6f4v1ffka24ap1ajbjk9b1yb3ali8";
|
||||
};
|
||||
preConfigure = lib.optionalString stdenv.cc.isClang "configureFlagsArray=(\"--with-cpp=clang -E -C\")";
|
||||
|
||||
nativeBuildInputs = [ autoconf makeWrapper ];
|
||||
|
||||
buildInputs = with ocamlPackages; [
|
||||
ncurses ocaml findlib ltl2ba ocamlgraph
|
||||
lablgtk coq graphviz zarith why3 apron
|
||||
ncurses ocaml findlib ltl2ba ocamlgraph yojson menhir camlzip
|
||||
lablgtk coq graphviz zarith apron why3 mlgmpidl doxygen
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
# Experimentally, the build segfaults with high core counts
|
||||
enableParallelBuilding = false;
|
||||
|
||||
unpackPhase = ''
|
||||
tar xf $src
|
||||
tar xf $why2
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
cd frama*
|
||||
./configure --prefix=$out
|
||||
# It is not parallel safe
|
||||
make
|
||||
make install
|
||||
cd ../why*
|
||||
FRAMAC=$out/bin/frama-c ./configure --prefix=$out
|
||||
make
|
||||
make install
|
||||
fixupPhase = ''
|
||||
for p in $out/bin/frama-c{,-gui};
|
||||
do
|
||||
wrapProgram $p --prefix OCAMLPATH ':' ${ocamlpath}
|
||||
done
|
||||
'';
|
||||
|
||||
# Enter frama-c directory before patching
|
||||
prePatch = ''cd frama*'';
|
||||
patches = [ ./dynamic.diff ];
|
||||
postPatch = ''
|
||||
# strip absolute paths to /usr/bin
|
||||
for file in ./configure ./share/Makefile.common ./src/*/configure; do #*/
|
||||
substituteInPlace $file --replace '/usr/bin/' ""
|
||||
done
|
||||
# Allow loading of external Frama-C plugins
|
||||
setupHook = writeText "setupHook.sh" ''
|
||||
addFramaCPath () {
|
||||
if test -d "''$1/lib/frama-c/plugins"; then
|
||||
export FRAMAC_PLUGIN="''${FRAMAC_PLUGIN}''${FRAMAC_PLUGIN:+:}''$1/lib/frama-c/plugins"
|
||||
export OCAMLPATH="''${OCAMLPATH}''${OCAMLPATH:+:}''$1/lib/frama-c/plugins"
|
||||
fi
|
||||
|
||||
substituteInPlace ./src/plugins/aorai/aorai_register.ml --replace '"ltl2ba' '"${ltl2ba}/bin/ltl2ba'
|
||||
if test -d "''$1/lib/frama-c"; then
|
||||
export OCAMLPATH="''${OCAMLPATH}''${OCAMLPATH:+:}''$1/lib/frama-c"
|
||||
fi
|
||||
|
||||
cd ../why*
|
||||
if test -d "''$1/share/frama-c/"; then
|
||||
export FRAMAC_EXTRA_SHARE="''${FRAMAC_EXTRA_SHARE}''${FRAMAC_EXTRA_SHARE:+:}''$1/share/frama-c"
|
||||
fi
|
||||
|
||||
substituteInPlace ./Makefile.in --replace '-warn-error A' '-warn-error A-3'
|
||||
substituteInPlace ./frama-c-plugin/Makefile --replace 'shell frama-c' "shell $out/bin/frama-c"
|
||||
substituteInPlace ./jc/jc_make.ml --replace ' why-dp ' " $out/bin/why-dp "
|
||||
substituteInPlace ./jc/jc_make.ml --replace "?= why@\n" "?= $out/bin/why@\n"
|
||||
substituteInPlace ./jc/jc_make.ml --replace ' gwhy-bin@' " $out/bin/gwhy-bin@"
|
||||
substituteInPlace ./jc/jc_make.ml --replace ' why3 ' " ${why3}/bin/why3 "
|
||||
substituteInPlace ./jc/jc_make.ml --replace ' why3ide ' " ${why3}/bin/why3ide "
|
||||
substituteInPlace ./jc/jc_make.ml --replace ' why3replayer ' " ${why3}/bin/why3replayer "
|
||||
substituteInPlace ./jc/jc_make.ml --replace ' why3ml ' " ${why3}/bin/why3ml "
|
||||
substituteInPlace ./jc/jc_make.ml --replace ' coqdep@' " ${coq}/bin/coqdep@"
|
||||
substituteInPlace ./jc/jc_make.ml --replace 'coqc' " ${coq}/bin/coqc"
|
||||
substituteInPlace ./frama-c-plugin/register.ml --replace ' jessie ' " $out/bin/jessie "
|
||||
cd ..
|
||||
}
|
||||
|
||||
addEnvHooks "$targetOffset" addFramaCPath
|
||||
'';
|
||||
|
||||
|
||||
meta = {
|
||||
description = "An extensible and collaborative platform dedicated to source-code analysis of C software";
|
||||
homepage = http://frama-c.com/;
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
--- a/src/kernel_services/plugin_entry_points/dynamic.ml 2016-05-30 16:15:22.000000000 +0200
|
||||
+++ b/src/kernel_services/plugin_entry_points/dynamic.ml 2016-10-13 18:25:31.000000000 +0200
|
||||
@@ -270,7 +270,8 @@
|
||||
load_path :=
|
||||
List.fold_right (add_dir ~user:true) path
|
||||
(List.fold_right (add_dir ~user:false) Config.plugin_dir []);
|
||||
- let findlib_path = String.concat ":" !load_path in
|
||||
+ let findlib_path = String.concat ":" (!load_path @
|
||||
+ try [Sys.getenv "OCAMLPATH"] with Not_found -> []) in
|
||||
Klog.debug ~dkey "setting findlib path to %s" findlib_path;
|
||||
Findlib.init ~env_ocamlpath:findlib_path ()
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pmd";
|
||||
version = "6.16.0";
|
||||
version = "6.17.0";
|
||||
|
||||
nativeBuildInputs = [ unzip ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/pmd/pmd-bin-${version}.zip";
|
||||
sha256 = "0h4818dxd9nq925asa9g3g9i2i5hg85ziapacyiqq4bhab67ysy4";
|
||||
sha256 = "0000w28dg5z8gs7cxhx7d0fv10ry0yxamk5my28ncqqsg7a4qy8w";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
|
||||
@@ -2,16 +2,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "tflint";
|
||||
version = "0.9.2";
|
||||
version = "0.9.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "wata727";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0yk5hygrjkbq5ry2kark3hd59hwjxpgryz0ychr8mhzvlr97aj1k";
|
||||
sha256 = "10saljrman41pjmjhbzan8jw8jbz069yhcf6vvzxmw763x5s3n85";
|
||||
};
|
||||
|
||||
modSha256 = "096hq0xc3cq45r13pm0s0q9rxd4z0ia6x0wy4xmwgzfb97jvn20p";
|
||||
modSha256 = "0zfgyv1m7iay3brkqmh35gw1giyr3i3ja56dh4kgm6ai4z1jmvgc";
|
||||
|
||||
subPackages = [ "." ];
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{ stdenv, fetchurl, makeWrapper, jre, lib }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "avro-tools";
|
||||
version = "1.9.0";
|
||||
name = "avro-tools-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url =
|
||||
"https://repo1.maven.org/maven2/org/apache/avro/avro-tools/${version}/${name}.jar";
|
||||
"https://repo1.maven.org/maven2/org/apache/avro/avro-tools/${version}/${pname}-${version}.jar";
|
||||
sha256 = "164mcz7ljd2ikwsq9ba98galcjar4g4n6ag7kkh466nwrpbmd2zi";
|
||||
};
|
||||
|
||||
@@ -19,11 +19,10 @@ stdenv.mkDerivation rec {
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
mkdir -p $out/libexec/avro-tools
|
||||
mv $src ${name}.jar
|
||||
cp ${name}.jar $out/libexec/avro-tools
|
||||
cp $src $out/libexec/avro-tools/${pname}.jar
|
||||
|
||||
makeWrapper ${jre}/bin/java $out/bin/avro-tools \
|
||||
--add-flags "-jar $out/libexec/avro-tools/${name}.jar"
|
||||
--add-flags "-jar $out/libexec/avro-tools/${pname}.jar"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
||||
@@ -62,7 +62,7 @@ buildBazelPackage rec {
|
||||
sed -e '/^FILE:@bazel_gazelle_go_repository_tools.*/d' -i $bazelOut/external/\@*.marker
|
||||
'';
|
||||
|
||||
sha256 = "1i3b6kn9kq70a34wkpm8zjqj1skawdxs3r01b7r6ws1rbdnfj6mp";
|
||||
sha256 = "0g2y283glx2ykxxqc3vsg520a6s2w5d937wndhgpfajc5yjgiz43";
|
||||
};
|
||||
|
||||
buildAttrs = {
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "bazelisk";
|
||||
version = "0.0.8";
|
||||
version = "1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bazelbuild";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "16jiy71x8zr3x94p3qms3xbl8632avhwi66i82wv03n4ahkyb6qr";
|
||||
sha256 = "0516rx3qx6nxavy0a1qxjx2rcvdfb2ggig0q4n7fkmrxbnwxh2c9";
|
||||
};
|
||||
|
||||
modSha256 = "1f73j6ryidzi3kfy3rhsqx047vzwvzaqcsl7ykhg87rn2l2s7fdl";
|
||||
|
||||
@@ -22,11 +22,11 @@
|
||||
}:
|
||||
|
||||
let
|
||||
version = "0.28.0";
|
||||
version = "0.28.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/bazelbuild/bazel/releases/download/${version}/bazel-${version}-dist.zip";
|
||||
sha256 = "26ad8cdadd413b8432cf46d9fc3801e8db85d9922f85dd8a7f5a92fec876557f";
|
||||
sha256 = "0503fax70w7h6v00mkrrrgf1m5n0vkjqs76lyg95alhzc4yldsic";
|
||||
};
|
||||
|
||||
# Update with `eval $(nix-build -A bazel.updater)`,
|
||||
@@ -323,7 +323,7 @@ stdenv.mkDerivation rec {
|
||||
genericPatches = ''
|
||||
# Substitute python's stub shebang to plain python path. (see TODO add pr URL)
|
||||
# See also `postFixup` where python is added to $out/nix-support
|
||||
patchShebangs src/main/java/com/google/devtools/build/lib/bazel/rules/python/python_stub_template.txt \
|
||||
substituteInPlace src/main/java/com/google/devtools/build/lib/bazel/rules/python/python_stub_template.txt \
|
||||
--replace "#!/usr/bin/env python" "#!${python3}/bin/python"
|
||||
|
||||
# md5sum is part of coreutils
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "bear-${version}";
|
||||
version = "2.4.0";
|
||||
version = "2.4.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rizsotto";
|
||||
repo = "Bear";
|
||||
rev = version;
|
||||
sha256 = "0r5mhacn8v4b2kjni91nxh3b6g86cbkrnlk4f6sj4mdrvx25dp39";
|
||||
sha256 = "0fqhhavyz9ddjc3wgb2ng47bfgk1q4w5bwah74nsa02k8r22pbch";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
@@ -1,56 +1,71 @@
|
||||
{ stdenv, lib, fetchurl, coursier, jdk, jre, python, makeWrapper }:
|
||||
{ stdenv, lib, fetchurl, coursier, python, makeWrapper }:
|
||||
|
||||
let
|
||||
baseName = "bloop";
|
||||
version = "1.2.5";
|
||||
deps = stdenv.mkDerivation {
|
||||
name = "${baseName}-deps-${version}";
|
||||
version = "1.3.2";
|
||||
nailgunCommit = "9327a60a"; # Fetched from https://github.com/scalacenter/bloop/releases/download/v${version}/install.py
|
||||
|
||||
client = stdenv.mkDerivation {
|
||||
name = "${baseName}-client-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://raw.githubusercontent.com/scalacenter/nailgun/${nailgunCommit}/pynailgun/ng.py";
|
||||
sha256 = "0z4as5ibmzkd145wsch9caiy4037bgg780gcf7pyns0cv9n955b4";
|
||||
};
|
||||
|
||||
phases = [ "installPhase" ];
|
||||
|
||||
installPhase = ''cp $src $out'';
|
||||
};
|
||||
|
||||
server = stdenv.mkDerivation {
|
||||
name = "${baseName}-server-${version}";
|
||||
buildCommand = ''
|
||||
mkdir -p $out/bin
|
||||
|
||||
export COURSIER_CACHE=$(pwd)
|
||||
${coursier}/bin/coursier fetch ch.epfl.scala:bloop-frontend_2.12:${version} \
|
||||
${coursier}/bin/coursier bootstrap ch.epfl.scala:bloop-frontend_2.12:${version} \
|
||||
-r "bintray:scalameta/maven" \
|
||||
-r "bintray:scalacenter/releases" \
|
||||
-r "https://oss.sonatype.org/content/repositories/staging" > deps
|
||||
mkdir -p $out/share/java
|
||||
cp $(< deps) $out/share/java/
|
||||
-r "https://oss.sonatype.org/content/repositories/staging" \
|
||||
--deterministic \
|
||||
-f --main bloop.Server -o $out/bin/blp-server
|
||||
'';
|
||||
outputHashMode = "recursive";
|
||||
outputHashAlgo = "sha256";
|
||||
outputHash = "19373fyb0g7irrdzb1vsjmyv5xj84qwbcfb6lm076px7wfyn0w1c";
|
||||
outputHash = "0k9zc9q793fkfwcssbkmzb0nxmgb99rwi0pjkqhvf719vmgvhc2a";
|
||||
};
|
||||
|
||||
zsh = stdenv.mkDerivation {
|
||||
name = "${baseName}-zshcompletion-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://raw.githubusercontent.com/scalacenter/bloop/v${version}/etc/zsh/_bloop";
|
||||
sha256 = "09qq5888vaqlqan2jbs2qajz2c3ff13zj8r0x2pcxsqmvlqr02hp";
|
||||
};
|
||||
|
||||
phases = [ "installPhase" ];
|
||||
|
||||
installPhase = ''cp $src $out'';
|
||||
};
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "${baseName}-${version}";
|
||||
|
||||
# Fetched from https://github.com/scalacenter/bloop/releases/download/v${version}/install.py
|
||||
nailgunCommit = "0c325237";
|
||||
|
||||
buildInputs = [ jdk makeWrapper deps ];
|
||||
buildInputs = [ makeWrapper ];
|
||||
|
||||
phases = [ "installPhase" ];
|
||||
|
||||
client = fetchurl {
|
||||
url = "https://raw.githubusercontent.com/scalacenter/nailgun/${nailgunCommit}/pynailgun/ng.py";
|
||||
sha256 = "0qjw4nsyb4cxg96jj1yv5c0ivcxvmscxxqfzll5w9p1pjb30bq0n";
|
||||
};
|
||||
|
||||
zshCompletion = fetchurl {
|
||||
url = "https://raw.githubusercontent.com/scalacenter/bloop/v${version}/etc/zsh/_bloop";
|
||||
sha256 = "1id6f1fgy2rk0q5aad6ffivhbxa94fallzsc04l9n0y1s2xdhqpm";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
mkdir -p $out/share/zsh/site-functions
|
||||
|
||||
cp ${client} $out/bin/blp-client
|
||||
cp ${zshCompletion} $out/share/zsh/site-functions/_bloop
|
||||
chmod +x $out/bin/blp-client
|
||||
ln -s ${server}/bin/blp-server $out/blp-server
|
||||
ln -s ${zsh} $out/share/zsh/site-functions/_bloop
|
||||
|
||||
makeWrapper ${jre}/bin/java $out/bin/blp-server \
|
||||
--prefix PATH : ${lib.makeBinPath [ jdk ]} \
|
||||
--add-flags "-cp $CLASSPATH bloop.Server"
|
||||
makeWrapper $out/bin/blp-client $out/bin/bloop \
|
||||
cp ${client} $out/bloop
|
||||
chmod +x $out/bloop
|
||||
makeWrapper $out/bloop $out/bin/bloop \
|
||||
--prefix PATH : ${lib.makeBinPath [ python ]}
|
||||
'';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, unzip, jdk, makeWrapper }:
|
||||
{ stdenv, fetchurl, unzip, jdk, java ? jdk, makeWrapper }:
|
||||
|
||||
rec {
|
||||
gradleGen = {name, src, nativeVersion} : stdenv.mkDerivation rec {
|
||||
@@ -12,8 +12,8 @@ rec {
|
||||
|
||||
gradle_launcher_jar=$(echo $out/lib/gradle/lib/gradle-launcher-*.jar)
|
||||
test -f $gradle_launcher_jar
|
||||
makeWrapper ${jdk}/bin/java $out/bin/gradle \
|
||||
--set JAVA_HOME ${jdk} \
|
||||
makeWrapper ${java}/bin/java $out/bin/gradle \
|
||||
--set JAVA_HOME ${java} \
|
||||
--add-flags "-classpath $gradle_launcher_jar org.gradle.launcher.GradleMain"
|
||||
'';
|
||||
|
||||
@@ -33,7 +33,7 @@ rec {
|
||||
echo ${stdenv.cc.cc} > $out/nix-support/manual-runtime-dependencies
|
||||
'';
|
||||
|
||||
buildInputs = [ unzip jdk makeWrapper ];
|
||||
buildInputs = [ unzip java makeWrapper ];
|
||||
|
||||
meta = {
|
||||
description = "Enterprise-grade build system";
|
||||
@@ -51,7 +51,9 @@ rec {
|
||||
};
|
||||
};
|
||||
|
||||
gradle_latest = gradleGen rec {
|
||||
gradle_latest = gradle_5_3;
|
||||
|
||||
gradle_5_3 = gradleGen rec {
|
||||
name = "gradle-5.3.1";
|
||||
nativeVersion = "0.17";
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{ stdenv, fetchFromGitHub, which, curl, makeWrapper, jdk }:
|
||||
|
||||
let
|
||||
rev = "a47a965e00ecd66793832e2a12a1972d25e6f734";
|
||||
version = "2019-04-05";
|
||||
rev = "53f1edc685d8f269ac551336809e34faf7cd29a6";
|
||||
version = "2019-08-14";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
name = "sbt-extras-${version}";
|
||||
@@ -12,7 +12,7 @@ stdenv.mkDerivation {
|
||||
owner = "paulp";
|
||||
repo = "sbt-extras";
|
||||
inherit rev;
|
||||
sha256 = "1hrz7kg0k2iqq18bg6ll2bdj487p0987880dz0c0g35ah70ps2hj";
|
||||
sha256 = "1fyfwcnr30c0rgq6xfd2is9a8j1hsrl2p0xqicwqi4bzijy4r6gw";
|
||||
};
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
|
||||
homepage = https://www.scala-sbt.org/;
|
||||
license = licenses.bsd3;
|
||||
description = "A build tool for Scala, Java and more";
|
||||
maintainers = with maintainers; [ nequissimus rickynils ];
|
||||
maintainers = with maintainers; [ nequissimus ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ in {
|
||||
sha256 = "0wzid419mlwqw9llrg8gsx4nkzhqy16m4m40r0xnh6cwscw5wir4";
|
||||
};
|
||||
scons_latest = mkScons {
|
||||
version = "3.0.5";
|
||||
sha256 = "0gn7fgxvx94bjm4cim29cdz91ar1rmfxk2f39wwgljvdvhinyryz";
|
||||
version = "3.1.0";
|
||||
sha256 = "0bqkrpk5j6wvlljpdsimazav44y43qkl9mzc4f8ig8nl73blixgk";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
{ stdenv, buildGoPackage, fetchFromGitHub
|
||||
, gpgme, libgpgerror, lvm2, btrfs-progs, pkgconfig, ostree, libselinux, libseccomp
|
||||
, go-md2man }:
|
||||
}:
|
||||
|
||||
let
|
||||
version = "1.9.0";
|
||||
version = "1.10.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
rev = "v${version}";
|
||||
owner = "containers";
|
||||
repo = "buildah";
|
||||
sha256 = "19yf93pq4vw24h76kl32c6ryvg5fp5mixakw9c6sqydf7m74z9i8";
|
||||
sha256 = "0dki2v8j2jzbw49sdzcyjqbalbh70m0lgzrldgj6cc92mj896pxk";
|
||||
};
|
||||
|
||||
goPackagePath = "github.com/containers/buildah";
|
||||
@@ -26,22 +26,18 @@ in buildGoPackage rec {
|
||||
# Optimizations break compilation of libseccomp c bindings
|
||||
hardeningDisable = [ "fortify" ];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig go-md2man.bin ];
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ gpgme libgpgerror lvm2 btrfs-progs ostree libselinux libseccomp ];
|
||||
|
||||
# Copied from the skopeo package, doesn’t seem to make a difference?
|
||||
# If something related to these libs failed, uncomment these lines.
|
||||
/*preBuild = with lib; ''
|
||||
export CGO_CFLAGS="-I${getDev gpgme}/include -I${getDev libgpgerror}/include -I${getDev devicemapper}/include -I${getDev btrfs-progs}/include"
|
||||
export CGO_LDFLAGS="-L${getLib gpgme}/lib -L${getLib libgpgerror}/lib -L${getLib devicemapper}/lib"
|
||||
'';*/
|
||||
buildPhase = ''
|
||||
pushd go/src/${goPackagePath}
|
||||
patchShebangs .
|
||||
make GIT_COMMIT="unknown"
|
||||
install -Dm755 buildah $bin/bin/buildah
|
||||
'';
|
||||
|
||||
postBuild = ''
|
||||
# depends on buildGoPackage not changing …
|
||||
pushd ./go/src/${goPackagePath}/docs
|
||||
make docs
|
||||
make install PREFIX="$man"
|
||||
popd
|
||||
make -C docs install PREFIX="$man"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
||||
24
pkgs/development/tools/buildkit/default.nix
Normal file
24
pkgs/development/tools/buildkit/default.nix
Normal file
@@ -0,0 +1,24 @@
|
||||
{ stdenv, fetchFromGitHub, buildGoPackage }:
|
||||
|
||||
buildGoPackage rec {
|
||||
pname = "buildkit";
|
||||
version = "0.4.0";
|
||||
rev = "v${version}";
|
||||
|
||||
goPackagePath = "github.com/moby/buildkit";
|
||||
subPackages = [ "cmd/buildctl" ] ++ stdenv.lib.optionals stdenv.isLinux [ "cmd/buildkitd" ];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
inherit rev;
|
||||
owner = "moby";
|
||||
repo = "buildkit";
|
||||
sha256 = "0gkwcjqbcskn63y79jwa26hxkps452z4bgz8lrryaskzbdpvhh3d";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Concurrent, cache-efficient, and Dockerfile-agnostic builder toolkit";
|
||||
homepage = https://github.com/moby/buildkit;
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ vdemeester ];
|
||||
};
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
{ haskellPackages, haskell }:
|
||||
|
||||
haskell.lib.justStaticExecutables (haskellPackages.extend (self: super: {
|
||||
cachix = haskell.lib.doDistribute (self.cachix_0_2_1 or self.cachix);
|
||||
cachix-api = self.cachix-api_0_2_1 or self.cachix-api;
|
||||
})).cachix
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub
|
||||
{ lib, stdenv, fetchFromGitHub
|
||||
, pythonPackages
|
||||
, cmake
|
||||
, llvmPackages
|
||||
@@ -19,8 +19,10 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ cmake ] ++ stdenv.lib.optionals withMan [ pythonPackages.sphinx ];
|
||||
|
||||
clangVersion = lib.getVersion llvmPackages.clang;
|
||||
|
||||
cmakeFlags = [
|
||||
"-DCLANG_RESOURCE_DIR=${llvmPackages.clang-unwrapped}"
|
||||
"-DCLANG_RESOURCE_DIR=${llvmPackages.clang-unwrapped}/lib/clang/${clangVersion}/"
|
||||
"-DSPHINX_MAN=${if withMan then "ON" else "OFF"}"
|
||||
];
|
||||
|
||||
|
||||
51
pkgs/development/tools/clj-kondo/default.nix
Normal file
51
pkgs/development/tools/clj-kondo/default.nix
Normal file
@@ -0,0 +1,51 @@
|
||||
{ stdenv, lib, graalvm8, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec{
|
||||
pname = "clj-kondo";
|
||||
version = "2019.07.31-alpha";
|
||||
|
||||
reflectionJson = fetchurl {
|
||||
name = "reflection.json";
|
||||
url = "https://raw.githubusercontent.com/borkdude/${pname}/v${version}/reflection.json";
|
||||
sha256 = "1m6kja38p6aypawbynkyq8bdh8wpdjmyqrhslinqid9r8cl25rcq";
|
||||
};
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/borkdude/${pname}/releases/download/v${version}/${pname}-${version}-standalone.jar";
|
||||
sha256 = "03ipl7br9pgx2hdbiaxv9ip0ibafkyzkc8qlx8xyi528bcfi54bf";
|
||||
};
|
||||
|
||||
dontUnpack = true;
|
||||
|
||||
buildInputs = [ graalvm8 ];
|
||||
|
||||
buildPhase = ''
|
||||
native-image \
|
||||
-jar ${src} \
|
||||
-H:Name=clj-kondo \
|
||||
-H:+ReportExceptionStackTraces \
|
||||
-J-Dclojure.spec.skip-macros=true \
|
||||
-J-Dclojure.compiler.direct-linking=true \
|
||||
"-H:IncludeResources=clj_kondo/impl/cache/built_in/.*" \
|
||||
-H:ReflectionConfigurationFiles=${reflectionJson} \
|
||||
--initialize-at-build-time \
|
||||
-H:Log=registerResource: \
|
||||
--verbose \
|
||||
--no-fallback \
|
||||
--no-server \
|
||||
"-J-Xmx3g"
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp clj-kondo $out/bin/clj-kondo
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A linter for Clojure code that sparks joy.";
|
||||
homepage = https://github.com/borkdude/clj-kondo;
|
||||
license = licenses.epl10;
|
||||
platforms = graalvm8.meta.platforms;
|
||||
maintainers = with maintainers; [ jlesquembre ];
|
||||
};
|
||||
}
|
||||
@@ -46,6 +46,6 @@ buildGoPackage rec {
|
||||
license = licenses.mit;
|
||||
homepage = https://about.gitlab.com/gitlab-ci/;
|
||||
platforms = platforms.unix ++ platforms.darwin;
|
||||
maintainers = with maintainers; [ bachp zimbatm ];
|
||||
maintainers = with maintainers; [ bachp zimbatm globin ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -3,14 +3,14 @@
|
||||
with python3Packages;
|
||||
|
||||
buildPythonApplication rec {
|
||||
name = "cppclean-unstable-${version}";
|
||||
version = "2018-05-12";
|
||||
pname = "cppclean";
|
||||
version = "0.13";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "myint";
|
||||
repo = "cppclean";
|
||||
rev = "e7da41eca5e1fd2bd1dddd6655e50128bb96dc28";
|
||||
sha256 = "0pymh6r7y19bwcypfkmgwyixrx36pmz338jd83yrjflsbjlriqm4";
|
||||
rev = "v${version}";
|
||||
sha256 = "081bw7kkl7mh3vwyrmdfrk3fgq8k5laacx7hz8fjpchrvdrkqph0";
|
||||
};
|
||||
|
||||
postUnpack = ''
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "litecli";
|
||||
version = "1.0.0";
|
||||
version = "1.1.0";
|
||||
|
||||
# Python 2 won't have prompt_toolkit 2.x.x
|
||||
# See: https://github.com/NixOS/nixpkgs/blob/f49e2ad3657dede09dc998a4a98fd5033fb52243/pkgs/top-level/python-packages.nix#L3408
|
||||
@@ -10,15 +10,9 @@ python3Packages.buildPythonApplication rec {
|
||||
|
||||
src = python3Packages.fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0s5a6r5q09144cc5169snwis5i2jrh3z2g4mw9wi2fsjxyhgpwq5";
|
||||
sha256 = "0cqil2cmnbw0jvb14v6kbr7l9yarfgy253cbb8v9znp0l4qfs7ra";
|
||||
};
|
||||
|
||||
# fixes tests https://github.com/dbcli/litecli/pull/53
|
||||
postPatch = ''
|
||||
substituteInPlace litecli/main.py \
|
||||
--replace 'except FileNotFoundError:' 'except (FileNotFoundError, OSError):'
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
cli-helpers
|
||||
click
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{ stdenv, libXScrnSaver, makeWrapper, fetchurl, unzip, atomEnv, gtk2, at-spi2-atk }:
|
||||
|
||||
let
|
||||
version = "3.1.8";
|
||||
version = "3.1.13";
|
||||
name = "electron-${version}";
|
||||
|
||||
throwSystem = throw "Unsupported system: ${stdenv.hostPlatform.system}";
|
||||
@@ -19,19 +19,19 @@ let
|
||||
src = {
|
||||
i686-linux = fetchurl {
|
||||
url = "https://github.com/electron/electron/releases/download/v${version}/electron-v${version}-linux-ia32.zip";
|
||||
sha256 = "1vq4vanlwixgk1q4v5d24f1ywgy2af1r14f9byzfy89vwds77yk9";
|
||||
sha256 = "04i0rcp4ajp4nf4arcl5crcc7a85sf0ixqd8jx07k2b1irv4dc23";
|
||||
};
|
||||
x86_64-linux = fetchurl {
|
||||
url = "https://github.com/electron/electron/releases/download/v${version}/electron-v${version}-linux-x64.zip";
|
||||
sha256 = "13zds8bzn4z11544llkh99fw75gddxs5b9h1m5xgjzw37vf6rpws";
|
||||
sha256 = "1psmbplz6jhnnf6hmfhxbmmhn4n1dpnhzbc12pxn645xhfpk9ark";
|
||||
};
|
||||
armv7l-linux = fetchurl {
|
||||
url = "https://github.com/electron/electron/releases/download/v${version}/electron-v${version}-linux-armv7l.zip";
|
||||
sha256 = "0rfw1ydlmixyhifpmm2qyxapx3iqav4nlnzp2km9z7a0hpc4lii6";
|
||||
sha256 = "1pzs2cj12xw18jwab0mb8xhndwd95lbsj5ml5xdw2mb0ip5jsvsa";
|
||||
};
|
||||
aarch64-linux = fetchurl {
|
||||
url = "https://github.com/electron/electron/releases/download/v${version}/electron-v${version}-linux-arm64.zip";
|
||||
sha256 = "0qrnvzjz78fblfg4r6xpzc40p10y6865gqpwx2h5vsdfp6sgq898";
|
||||
sha256 = "13pc7xn0dkb8i31vg9zplqcvb7r9r7q3inmr3419b5p9bl0687x8";
|
||||
};
|
||||
}.${stdenv.hostPlatform.system} or throwSystem;
|
||||
|
||||
@@ -59,7 +59,7 @@ let
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/electron/electron/releases/download/v${version}/electron-v${version}-darwin-x64.zip";
|
||||
sha256 = "0ms75306dq2ym838zk9d9nypnd8yjipl0zqyq9bvd4r32p241hw9";
|
||||
sha256 = "1vvjm4jifzjqvbs2kjlwg1h9p2czr2b5imjr9hld1j8nyfrzb0dx";
|
||||
};
|
||||
|
||||
buildInputs = [ unzip ];
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{ stdenv, libXScrnSaver, makeWrapper, fetchurl, wrapGAppsHook, gtk3, unzip, atomEnv, libuuid, at-spi2-atk, at-spi2-core }:
|
||||
|
||||
let
|
||||
version = "5.0.0";
|
||||
version = "5.0.8";
|
||||
name = "electron-${version}";
|
||||
|
||||
throwSystem = throw "Unsupported system: ${stdenv.hostPlatform.system}";
|
||||
@@ -19,19 +19,19 @@ let
|
||||
src = {
|
||||
i686-linux = fetchurl {
|
||||
url = "https://github.com/electron/electron/releases/download/v${version}/electron-v${version}-linux-ia32.zip";
|
||||
sha256 = "01320qv0x18rmjn6ibbs49pd04d58rz5dac509lxxay8nfb14gdp";
|
||||
sha256 = "1blw38x4fp4w2vs6r1d0jz3pg0m78417i0q9bvwpnwbn6wil857y";
|
||||
};
|
||||
x86_64-linux = fetchurl {
|
||||
url = "https://github.com/electron/electron/releases/download/v${version}/electron-v${version}-linux-x64.zip";
|
||||
sha256 = "0mkc8r5xggkzdypyq4hxigmjl6d1jn0139l8nwj1vr224ggnskhn";
|
||||
sha256 = "1gz5n8gkgka7343qcwckagd4ply1lxwiaccdjv16srk2wwc9bc9m";
|
||||
};
|
||||
armv7l-linux = fetchurl {
|
||||
url = "https://github.com/electron/electron/releases/download/v${version}/electron-v${version}-linux-armv7l.zip";
|
||||
sha256 = "1w767yxm3b6sj52z0wnzr4vfn0m8n2jdjhj3ksmq6qrv401vvib3";
|
||||
sha256 = "1y8yna6z7xc378k6hsgngv9v98yjwq36knnr4qan0pw26paw1m82";
|
||||
};
|
||||
aarch64-linux = fetchurl {
|
||||
url = "https://github.com/electron/electron/releases/download/v${version}/electron-v${version}-linux-arm64.zip";
|
||||
sha256 = "1nvpfkrizkmr6xxb2ls19p9mhgpms65ws09bx3l8sqq6275916jk";
|
||||
sha256 = "1ha4ajvi0z051b6npigw6w4xi3bj3hhpxfr3xw4fgx6g6bvf1vpx";
|
||||
};
|
||||
}.${stdenv.hostPlatform.system} or throwSystem;
|
||||
|
||||
@@ -68,7 +68,7 @@ let
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/electron/electron/releases/download/v${version}/electron-v${version}-darwin-x64.zip";
|
||||
sha256 = "07s2cq4ffpx86pjxrh1hcvk3r85saxqi3kkbbfkg9r1bbq8zbapm";
|
||||
sha256 = "1h7i2ik6wms5v6ji0mp33kzfh9sd89m7w3m2nm6wrjny7m0b43ww";
|
||||
};
|
||||
|
||||
buildInputs = [ unzip ];
|
||||
|
||||
86
pkgs/development/tools/electron/6.x.nix
Normal file
86
pkgs/development/tools/electron/6.x.nix
Normal file
@@ -0,0 +1,86 @@
|
||||
{ stdenv, libXScrnSaver, makeWrapper, fetchurl, wrapGAppsHook, gtk3, unzip, atomEnv, libuuid, at-spi2-atk, at-spi2-core}:
|
||||
|
||||
let
|
||||
version = "6.0.1";
|
||||
name = "electron-${version}";
|
||||
|
||||
throwSystem = throw "Unsupported system: ${stdenv.hostPlatform.system}";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Cross platform desktop application shell";
|
||||
homepage = https://github.com/electron/electron;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ travisbhartwell manveru ];
|
||||
platforms = [ "x86_64-darwin" "x86_64-linux" "i686-linux" "armv7l-linux" "aarch64-linux" ];
|
||||
};
|
||||
|
||||
linux = {
|
||||
inherit name version meta;
|
||||
src = {
|
||||
i686-linux = fetchurl {
|
||||
url = "https://github.com/electron/electron/releases/download/v${version}/electron-v${version}-linux-ia32.zip";
|
||||
sha256 = "0ly6mjcljw0axkkrz7dsvfywmjb3pmspalfk2259gyqqxj8a37pb";
|
||||
};
|
||||
x86_64-linux = fetchurl {
|
||||
url = "https://github.com/electron/electron/releases/download/v${version}/electron-v${version}-linux-x64.zip";
|
||||
sha256 = "0l8k6v16ynikf6x59w5byzhji0d6mqp2q0kjlrby56546qzyfkh6";
|
||||
};
|
||||
armv7l-linux = fetchurl {
|
||||
url = "https://github.com/electron/electron/releases/download/v${version}/electron-v${version}-linux-armv7l.zip";
|
||||
sha256 = "0c2xl8dm9fmj0d92w53zbn2np2fiwr88hw0dqjdn1rwczhw7zqss";
|
||||
};
|
||||
aarch64-linux = fetchurl {
|
||||
url = "https://github.com/electron/electron/releases/download/v${version}/electron-v${version}-linux-arm64.zip";
|
||||
sha256 = "0iyq229snm7z411xxfsv7f0bqg6hbw2l8y6ymys110f83hp01f8a";
|
||||
};
|
||||
}.${stdenv.hostPlatform.system} or throwSystem;
|
||||
|
||||
buildInputs = [ gtk3 ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
unzip
|
||||
makeWrapper
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
dontWrapGApps = true; # electron is in lib, we need to wrap it manually
|
||||
|
||||
buildCommand = ''
|
||||
mkdir -p $out/lib/electron $out/bin
|
||||
unzip -d $out/lib/electron $src
|
||||
ln -s $out/lib/electron/electron $out/bin
|
||||
|
||||
fixupPhase
|
||||
|
||||
patchelf \
|
||||
--set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
|
||||
--set-rpath "${atomEnv.libPath}:${stdenv.lib.makeLibraryPath [ libuuid at-spi2-atk at-spi2-core ]}:$out/lib/electron" \
|
||||
$out/lib/electron/electron
|
||||
|
||||
wrapProgram $out/lib/electron/electron \
|
||||
--prefix LD_PRELOAD : ${stdenv.lib.makeLibraryPath [ libXScrnSaver ]}/libXss.so.1 \
|
||||
"''${gappsWrapperArgs[@]}"
|
||||
'';
|
||||
};
|
||||
|
||||
darwin = {
|
||||
inherit name version meta;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/electron/electron/releases/download/v${version}/electron-v${version}-darwin-x64.zip";
|
||||
sha256 = "0m8v5fs69kanrd1yk6smbmaaj9gb5j3q487z3wicifry0xn381i2";
|
||||
};
|
||||
|
||||
buildInputs = [ unzip ];
|
||||
|
||||
buildCommand = ''
|
||||
mkdir -p $out/Applications
|
||||
unzip $src
|
||||
mv Electron.app $out/Applications
|
||||
mkdir -p $out/bin
|
||||
ln -s $out/Applications/Electron.app/Contents/MacOs/Electron $out/bin/electron
|
||||
'';
|
||||
};
|
||||
in
|
||||
|
||||
stdenv.mkDerivation (if stdenv.isDarwin then darwin else linux)
|
||||
@@ -1,7 +1,7 @@
|
||||
{ stdenv, libXScrnSaver, makeWrapper, fetchurl, wrapGAppsHook, gtk3, unzip, atomEnv, libuuid, at-spi2-atk }:
|
||||
|
||||
let
|
||||
version = "4.1.5";
|
||||
version = "4.2.8";
|
||||
name = "electron-${version}";
|
||||
|
||||
throwSystem = throw "Unsupported system: ${stdenv.hostPlatform.system}";
|
||||
@@ -19,19 +19,19 @@ let
|
||||
src = {
|
||||
i686-linux = fetchurl {
|
||||
url = "https://github.com/electron/electron/releases/download/v${version}/electron-v${version}-linux-ia32.zip";
|
||||
sha256 = "0rqaydlg7wkccks7crwpylad0bsz8knm82mpb7hnj68p9njxpsbz";
|
||||
sha256 = "1sikxr0pfpi3wrf1d7fia1vhb1gacsy9pr7qc0fycgnzsy2nvf8n";
|
||||
};
|
||||
x86_64-linux = fetchurl {
|
||||
url = "https://github.com/electron/electron/releases/download/v${version}/electron-v${version}-linux-x64.zip";
|
||||
sha256 = "0xwvn41pvpsrx54waix8kmg3w1f1f9nmfn08hf9bkgnlgh251shy";
|
||||
sha256 = "0wc954cjc13flvdh8rkmnifdx6nirf273v1n76lsklbsq6c73i4h";
|
||||
};
|
||||
armv7l-linux = fetchurl {
|
||||
url = "https://github.com/electron/electron/releases/download/v${version}/electron-v${version}-linux-armv7l.zip";
|
||||
sha256 = "172yq2m4i0pf72xr6w3xgkxfakkx2wrc54aah5j3nr6809bcnzji";
|
||||
sha256 = "0370ygpsm42drm70gj12i6mg960wchhqis7zz8i9is2ax1b2xjp5";
|
||||
};
|
||||
aarch64-linux = fetchurl {
|
||||
url = "https://github.com/electron/electron/releases/download/v${version}/electron-v${version}-linux-arm64.zip";
|
||||
sha256 = "0gcgvgplg9c2sm53sa4nll4x486c4m190ma9a98xfx9mp9vy55vq";
|
||||
sha256 = "0vl90lsjcsgcxivbaq526ffbx3lsh6axfmpkfxl8cj2jlbsg593k";
|
||||
};
|
||||
}.${stdenv.hostPlatform.system} or throwSystem;
|
||||
|
||||
@@ -68,7 +68,7 @@ let
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/electron/electron/releases/download/v${version}/electron-v${version}-darwin-x64.zip";
|
||||
sha256 = "1z43ga620rw84x1yxvnxf11pd782s5vgj5dgnn4k0nfgxlihy058";
|
||||
sha256 = "083v8k17b596fa63a7qrwyn2k8pd5vmg9yijbqbnpfcg4ja3bjx9";
|
||||
};
|
||||
|
||||
buildInputs = [ unzip ];
|
||||
|
||||
25
pkgs/development/tools/github-commenter/default.nix
Normal file
25
pkgs/development/tools/github-commenter/default.nix
Normal file
@@ -0,0 +1,25 @@
|
||||
{ lib, fetchFromGitHub, buildGoPackage }:
|
||||
|
||||
buildGoPackage rec {
|
||||
pname = "github-commenter";
|
||||
version = "0.5.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cloudposse";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0y7yw7x8gqfbkqdfrwd9lffx3rrp62nz1aa86liy2dja97dacpij";
|
||||
};
|
||||
|
||||
goPackagePath = "github.com/cloudposse/${pname}";
|
||||
|
||||
goDeps = ./deps.nix;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Command line utility for creating GitHub comments on Commits, Pull Request Reviews or Issues";
|
||||
license = licenses.asl20;
|
||||
homepage = "https://github.com/cloudposse/github-commenter";
|
||||
maintainers = [ maintainers.mmahut ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
102
pkgs/development/tools/github-commenter/deps.nix
generated
Normal file
102
pkgs/development/tools/github-commenter/deps.nix
generated
Normal file
@@ -0,0 +1,102 @@
|
||||
# This file was generated by https://github.com/kamilchm/go2nix v1.3.0
|
||||
[
|
||||
{
|
||||
goPackagePath = "github.com/Masterminds/goutils";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/Masterminds/goutils";
|
||||
rev = "41ac8693c5c10a92ea1ff5ac3a7f95646f6123b0";
|
||||
sha256 = "180px47gj936qyk5bkv5mbbgiil9abdjq6kwkf7sq70vyi9mcfiq";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/Masterminds/semver";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/Masterminds/semver";
|
||||
rev = "0fd41f6ff0825cf7efae00e706120bdd48914d93";
|
||||
sha256 = "0jf1c03c9cibfci7qaxbk8h758gmc9i0115jdw57v5c45hklw9ah";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/Masterminds/sprig";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/Masterminds/sprig";
|
||||
rev = "7525b3376b8792ab24d07381324e4e2463e3356b";
|
||||
sha256 = "05ia4r8b86s7pk8r3jmjq5x7pgsmp6wvcm42z8vl6vdhdr28bfrg";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/google/go-github";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/google/go-github";
|
||||
rev = "24f172eae1a0c53c780f259d8492979900e9af2e";
|
||||
sha256 = "1bxklfrl1wx2691qindiikkbyixd9p8pfqjn0xqi4riy5hcgz96s";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/google/go-querystring";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/google/go-querystring";
|
||||
rev = "c8c88dbee036db4e4808d1f2ec8c2e15e11c3f80";
|
||||
sha256 = "1yckg2052mz7ps1m68wri6kyb5n4g0vx2yf7s0xs9gdqvvscp57l";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/google/uuid";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/google/uuid";
|
||||
rev = "c2e93f3ae59f2904160ceaab466009f965df46d6";
|
||||
sha256 = "0zw8fvl6jqg0fmv6kmvhss0g4gkrbvgyvl2zgy5wdbdlgp4fja0h";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/huandu/xstrings";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/huandu/xstrings";
|
||||
rev = "8bbcf2f9ccb55755e748b7644164cd4bdce94c1d";
|
||||
sha256 = "1ivvc95514z63k7cpz71l0dwlanffmsh1pijhaqmp41kfiby8rsx";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/imdario/mergo";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/imdario/mergo";
|
||||
rev = "4c317f2286be3bd0c4f1a0e622edc6398ec4656d";
|
||||
sha256 = "0bihha1qsgfjk14yv1hwddv3d8dzxpbjlaxwwyys6lhgxz1cr9h9";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/pkg/errors";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/pkg/errors";
|
||||
rev = "27936f6d90f9c8e1145f11ed52ffffbfdb9e0af7";
|
||||
sha256 = "0yzmgi6g4ak4q8y7w6x0n5cbinlcn8yc3gwgzy4yck00qdn25d6y";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "golang.org/x/crypto";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://go.googlesource.com/crypto";
|
||||
rev = "4def268fd1a49955bfb3dda92fe3db4f924f2285";
|
||||
sha256 = "1bfsnari529gw34cz0zqk3d9mrkcj1ay35kangri8kbgll0ss5a6";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "golang.org/x/net";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://go.googlesource.com/net";
|
||||
rev = "ca1201d0de80cfde86cb01aea620983605dfe99b";
|
||||
sha256 = "16j9xyby1vfl4ch6wqzafxxxnxvcp8vhzknpchwabci1f2zcsn6i";
|
||||
};
|
||||
}
|
||||
]
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
name = "go-protobuf-${version}";
|
||||
version = "1.3.1";
|
||||
version = "1.3.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "golang";
|
||||
repo = "protobuf";
|
||||
rev = "v${version}";
|
||||
sha256 = "15am4s4646qy6iv0g3kkqq52rzykqjhm4bf08dk0fy2r58knpsyl";
|
||||
sha256 = "1k1wb4zr0qbwgpvz9q5ws9zhlal8hq7dmq62pwxxriksayl6hzym";
|
||||
};
|
||||
|
||||
modSha256 = "0sjjj9z1dhilhpc8pq4154czrb79z9cm044jvn75kxcjv6v5l2m5";
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
buildGoModule rec {
|
||||
name = "golangci-lint-${version}";
|
||||
version = "1.16.0";
|
||||
version = "1.17.1";
|
||||
goPackagePath = "github.com/golangci/golangci-lint";
|
||||
|
||||
subPackages = [ "cmd/golangci-lint" ];
|
||||
@@ -11,10 +11,10 @@ buildGoModule rec {
|
||||
owner = "golangci";
|
||||
repo = "golangci-lint";
|
||||
rev = "v${version}";
|
||||
sha256 = "1yzcfmrxyrxhq3vx13qm7czvhvdnaqay75v8ry1lgpg0bnh9pakx";
|
||||
sha256 = "1hs24nimv11c63a90ds8ps1lli16m3apsbrd9vpbq2rmxdbpwqac";
|
||||
};
|
||||
|
||||
modSha256 = "1dsaj6qsac9y4rkssjbmk46vaqbblzdim2rbdh3dgn1m0vdpv505";
|
||||
modSha256 = "0k0831rg6ygjffrq5y9488aiacskky7g6bvsfrgfz0g7i0mig1n6";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Linters Runner for Go. 5x faster than gometalinter. Nice colored output.";
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
||||
|
||||
buildGoPackage rec {
|
||||
name = "hcloud-${version}";
|
||||
version = "1.11.0";
|
||||
|
||||
pname = "hcloud";
|
||||
version = "1.13.0";
|
||||
|
||||
goPackagePath = "github.com/hetznercloud/cli";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hetznercloud";
|
||||
repo = "cli";
|
||||
rev = "v${version}";
|
||||
sha256 = "0iknw14728l2mynrvb3fiqm7y893ppp22gbb3mppi6iy3as94f1f";
|
||||
sha256 = "1bin9gcmmj3i6a11rv7czvnryl8bv7cjz3pi2cqx8baycg3hia5j";
|
||||
};
|
||||
|
||||
goDeps = ./deps.nix;
|
||||
@@ -32,7 +32,7 @@ buildGoPackage rec {
|
||||
|
||||
meta = {
|
||||
description = "A command-line interface for Hetzner Cloud, a provider for cloud virtual private servers";
|
||||
homepage = https://github.com/hetznercloud/cli;
|
||||
homepage = "https://github.com/hetznercloud/cli";
|
||||
license = stdenv.lib.licenses.mit;
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
maintainers = [ stdenv.lib.maintainers.zauberpony ];
|
||||
|
||||
39
pkgs/development/tools/hcloud/deps.nix
generated
39
pkgs/development/tools/hcloud/deps.nix
generated
@@ -1,4 +1,4 @@
|
||||
# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
|
||||
# This file was generated by https://github.com/kamilchm/go2nix v1.3.0
|
||||
[
|
||||
{
|
||||
goPackagePath = "github.com/dustin/go-humanize";
|
||||
@@ -23,8 +23,8 @@
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/gosuri/uilive";
|
||||
rev = "ac356e6e42cd31fcef8e6aec13ae9ed6fe87713e";
|
||||
sha256 = "1k28zbc14p1yqzhamp9rcagjdw6wsdb55m08nx758jwlr31az6jy";
|
||||
rev = "4512d98b127f3f3a1b7c3cf1104969fdd17b31d9";
|
||||
sha256 = "12n3kjgdzrb50jhkcb2ac3437mdhxh33zrcz7mi4gpji20jz4ai7";
|
||||
};
|
||||
}
|
||||
{
|
||||
@@ -32,8 +32,17 @@
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/gosuri/uiprogress";
|
||||
rev = "d0567a9d84a1c40dd7568115ea66f4887bf57b33";
|
||||
sha256 = "1m7rxf71mn8w2yysc8wmf2703avhci6f4nkiijjl1f2cx4kzykck";
|
||||
rev = "4442fea128d2bc91caf276b08518bdf4582561c8";
|
||||
sha256 = "1g6xjknm0981h3b1drbvm6vd66hiah1cylpdck9cqd18kyxd6bpd";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/hetznercloud/cli";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/hetznercloud/cli";
|
||||
rev = "d6ec656f964aac4382d9c724edd27a8608e7b354";
|
||||
sha256 = "0ng7hihzplwyz4sdipms4m9qq2bcj92qczzd5adhm6da851jxpbc";
|
||||
};
|
||||
}
|
||||
{
|
||||
@@ -41,8 +50,8 @@
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/hetznercloud/hcloud-go";
|
||||
rev = "ecee721a51a772254d0104bf4d796358e40d6bbd";
|
||||
sha256 = "0bwym7f8am14yfh584p28d8lnj4f9mhqi05l1mlrl315xn0c78v3";
|
||||
rev = "70b166c92266125ee6a621dcc6089023a5f8d055";
|
||||
sha256 = "02hh214qk8qrhl9rpaywv2z5jpkzx3y2j8gv5xmdprdamrjwwlbc";
|
||||
};
|
||||
}
|
||||
{
|
||||
@@ -50,8 +59,8 @@
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/pelletier/go-toml";
|
||||
rev = "27c6b39a135b7dc87a14afb068809132fb7a9a8f";
|
||||
sha256 = "13ldxh43xf4prmcrjzriz3gxpnijpqlzrgyhh7bnkj7lkhryfpk9";
|
||||
rev = "84da2c4a25c585816f2c4211b699228d111d18ab";
|
||||
sha256 = "1zh5kswqckz7aaz4kpd1kxbxnlhlmprba1ghkl742x6mbv3w08bm";
|
||||
};
|
||||
}
|
||||
{
|
||||
@@ -59,8 +68,8 @@
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/spf13/cobra";
|
||||
rev = "d2d81d9a96e23f0255397222bb0b4e3165e492dc";
|
||||
sha256 = "14nhpiyhz2lm468y5sm1vyxks5aky12kmbhmqq319s92lkm494cy";
|
||||
rev = "1c9c46d5c1cc2aaebdd1898c0680e85e8a44b36d";
|
||||
sha256 = "0mxliq4gfvdazga8mapc2sazi915rz1h6prnark9hwbbsz0xn0r3";
|
||||
};
|
||||
}
|
||||
{
|
||||
@@ -86,8 +95,8 @@
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://go.googlesource.com/crypto";
|
||||
rev = "ff983b9c42bc9fbf91556e191cc8efb585c16908";
|
||||
sha256 = "1hpr06kzn8jnn3gvzp0p9zn4fz4l9h69f7x66idx142w4xdlaanz";
|
||||
rev = "4def268fd1a49955bfb3dda92fe3db4f924f2285";
|
||||
sha256 = "1bfsnari529gw34cz0zqk3d9mrkcj1ay35kangri8kbgll0ss5a6";
|
||||
};
|
||||
}
|
||||
{
|
||||
@@ -95,8 +104,8 @@
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://go.googlesource.com/sys";
|
||||
rev = "7fbe1cd0fcc20051e1fcb87fbabec4a1bacaaeba";
|
||||
sha256 = "0y49s4kazign9nsw2x3h39cgs14lqi57m4hrka26w49z8a1xdyc6";
|
||||
rev = "fc99dfbffb4e5ed5758a37e31dd861afe285406b";
|
||||
sha256 = "186x8bg926qb9sprs5zpd97xzvvhc2si7q1nhvyg12r5cd6v7zjd";
|
||||
};
|
||||
}
|
||||
]
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "heroku";
|
||||
version = "7.22.4";
|
||||
version = "7.27.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://cli-assets.heroku.com/heroku-v${version}/heroku-v${version}.tar.xz";
|
||||
sha256 = "067kvkdn7yvzb3ws6yjsfbypww914fclhnxrh2dw1hc6cazfgmqp";
|
||||
sha256 = "0aq89kvv80mz67j4dgl84ff5j58q5p3k82bbnvxs5nhf2jcandym";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
@@ -1,23 +1,26 @@
|
||||
{ stdenv, fetchFromGitHub
|
||||
, pkgconfig, libftdi
|
||||
, python3, pypy3
|
||||
|
||||
# PyPy yields large improvements in build time and runtime performance,
|
||||
# and IceStorm isn't intended to be used as a library other than by the
|
||||
# nextpnr build process (which is also sped up by using PyPy), so we
|
||||
# use it by default. See 18839e1 for more details.
|
||||
, usePyPy ? stdenv.isx86_64 /* pypy3 seems broken on i686 */
|
||||
}:
|
||||
|
||||
let
|
||||
pypyCompatible = stdenv.isx86_64; /* pypy3 seems broken on i686 */
|
||||
pythonPkg = if pypyCompatible then pypy3 else python3;
|
||||
pythonInterp = pythonPkg.interpreter;
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "icestorm-${version}";
|
||||
version = "2019.04.16";
|
||||
pname = "icestorm";
|
||||
version = "2019.08.08";
|
||||
|
||||
pythonPkg = if usePyPy then pypy3 else python3;
|
||||
pythonInterp = pythonPkg.interpreter;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cliffordwolf";
|
||||
repo = "icestorm";
|
||||
rev = "d9ea2e15fccebbbce59409b0ae7a1481d78aab86";
|
||||
sha256 = "1qa37p7hm7c2ga26xcvsd8xkqrp4hm0w6yh7cvz2q988yjzal5ky";
|
||||
rev = "2ccae0d3864fd7268118287a85963c0116745cff";
|
||||
sha256 = "1vlk5k7x6c1bjp19niyl0shljj8il94q2brjmda1rwhqxz81g9s7";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "cfr-${version}";
|
||||
version = "0.145";
|
||||
version = "0.146";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.benf.org/other/cfr/cfr_${version}.jar";
|
||||
sha256 = "0xv2v9z9xwym5m7h6bkvcmdgsa9lmkvsl77vk3aykgbzxywh7xqv";
|
||||
sha256 = "16pmn3shhb00x3ba2zazbkprwvc34a6dds8ghc53winbf371xi3c";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
|
||||
meta = with stdenv.lib; {
|
||||
description = ''A lightweight and flexible command-line JSON processor'';
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ raskin ];
|
||||
maintainers = with maintainers; [ raskin globin ];
|
||||
platforms = with platforms; linux ++ darwin;
|
||||
downloadPage = "http://stedolan.github.io/jq/download/";
|
||||
updateWalker = true;
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ktlint-${version}";
|
||||
version = "0.34.0";
|
||||
version = "0.34.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/shyiko/ktlint/releases/download/${version}/ktlint";
|
||||
sha256 = "1mry999aqmbljp2ybkgf9hps8z4aa254b1bsivi559gzsvdkmqh7";
|
||||
sha256 = "1v1s4y8ads2s8hjsjacxni1j0dbmnhilhnfs0xabr3aljqs15wb2";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
name = "kustomize-${version}";
|
||||
version = "3.0.0";
|
||||
# rev is the 3.0.0 commit, mainly for kustomize version command output
|
||||
rev = "e0bac6ad192f33d993f11206e24f6cda1d04c4ec";
|
||||
pname = "kustomize";
|
||||
version = "3.1.0";
|
||||
# rev is the 3.1.0 commit, mainly for kustomize version command output
|
||||
rev = "95f3303493fdea243ae83b767978092396169baf";
|
||||
|
||||
goPackagePath = "sigs.k8s.io/kustomize";
|
||||
subPackages = [ "cmd/kustomize" ];
|
||||
|
||||
buildFlagsArray = let t = "${goPackagePath}/pkg/commands/misc"; in ''
|
||||
buildFlagsArray = let t = "${goPackagePath}/v3/pkg/commands/misc"; in ''
|
||||
-ldflags=
|
||||
-s -X ${t}.kustomizeVersion=${version}
|
||||
-X ${t}.gitCommit=${rev}
|
||||
@@ -17,9 +17,9 @@ buildGoModule rec {
|
||||
'';
|
||||
|
||||
src = fetchFromGitHub {
|
||||
sha256 = "1ywppn97gfgrwlq1nrj4kdvrdanq5ahqaa636ynyp9yiv9ibziq6";
|
||||
sha256 = "0kigcirkjvnj3xi1p28p9yp3s0lff24q5qcvf8ahjwvpbwka14sh";
|
||||
rev = "v${version}";
|
||||
repo = "kustomize";
|
||||
repo = pname;
|
||||
owner = "kubernetes-sigs";
|
||||
};
|
||||
|
||||
|
||||
@@ -1,29 +1,77 @@
|
||||
{stdenv, fetchurl, gawk}:
|
||||
{ stdenv, fetchFromGitHub, gawk, groff, icon-lang ? null }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "noweb-2.11b";
|
||||
src = fetchurl {
|
||||
urls = [ "http://ftp.de.debian.org/debian/pool/main/n/noweb/noweb_2.11b.orig.tar.gz"
|
||||
"ftp://www.eecs.harvard.edu/pub/nr/noweb.tgz"
|
||||
];
|
||||
sha256 = "10hdd6mrk26kyh4bnng4ah5h1pnanhsrhqa7qwqy6dyv3rng44y9";
|
||||
let noweb = stdenv.mkDerivation rec {
|
||||
pname = "noweb";
|
||||
version = "2.12";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nrnrnr";
|
||||
repo = "noweb";
|
||||
rev = "v${builtins.replaceStrings ["."] ["_"] version}";
|
||||
sha256 = "1160i2ghgzqvnb44kgwd6s3p4jnk9668rmc15jlcwl7pdf3xqm95";
|
||||
};
|
||||
preBuild = ''
|
||||
mkdir -p $out/lib/noweb
|
||||
cd src
|
||||
makeFlags="BIN=$out/bin LIB=$out/lib/noweb MAN=$out/share/man TEXINPUTS=$out/share/texmf/tex/latex"
|
||||
'';
|
||||
preInstall=''mkdir -p $out/share/texmf/tex/latex'';
|
||||
postInstall= ''
|
||||
substituteInPlace $out/bin/cpif --replace "PATH=/bin:/usr/bin" ""
|
||||
for f in $out/bin/{noweb,nountangle,noroots,noroff,noindex} \
|
||||
$out/lib/noweb/{toroff,btdefn,totex,noidx,unmarkup,toascii,tohtml,emptydefn}; do
|
||||
substituteInPlace $f --replace "nawk" "${gawk}/bin/awk"
|
||||
done
|
||||
'';
|
||||
|
||||
patches = [ ./no-FAQ.patch ];
|
||||
|
||||
meta = {
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
nativeBuildInputs = [ groff ] ++ stdenv.lib.optionals (!isNull icon-lang) [ icon-lang ];
|
||||
|
||||
preBuild = ''
|
||||
mkdir -p "$out/lib/noweb"
|
||||
cd src
|
||||
'';
|
||||
|
||||
makeFlags = stdenv.lib.optionals (!isNull icon-lang) [
|
||||
"LIBSRC=icon"
|
||||
"ICONC=icont"
|
||||
] ++ stdenv.lib.optionals stdenv.isDarwin [
|
||||
"CC=clang"
|
||||
];
|
||||
|
||||
installFlags = [
|
||||
"BIN=$(out)/bin"
|
||||
"ELISP=$(out)/share/emacs/site-lisp"
|
||||
"LIB=$(out)/lib/noweb"
|
||||
"MAN=$(out)/share/man"
|
||||
"TEXINPUTS=$(tex)/tex/latex/noweb"
|
||||
];
|
||||
|
||||
preInstall = ''
|
||||
mkdir -p "$tex/tex/latex/noweb"
|
||||
'';
|
||||
|
||||
installTargets = "install-code install-tex install-elisp";
|
||||
|
||||
postInstall = ''
|
||||
substituteInPlace "$out/bin/cpif" --replace "PATH=/bin:/usr/bin" ""
|
||||
|
||||
for f in $out/bin/no{index,roff,roots,untangle,web} \
|
||||
$out/lib/noweb/to{ascii,html,roff,tex} \
|
||||
$out/lib/noweb/{bt,empty}defn \
|
||||
$out/lib/noweb/{noidx,unmarkup}; do
|
||||
# NOTE: substituteInPlace breaks Icon binaries, so make sure the script
|
||||
# uses (n)awk before calling.
|
||||
if grep -q nawk "$f"; then
|
||||
substituteInPlace "$f" --replace "nawk" "${gawk}/bin/awk"
|
||||
fi
|
||||
done
|
||||
|
||||
# HACK: This is ugly, but functional.
|
||||
PATH=$out/bin:$PATH make -BC xdoc
|
||||
make $installFlags install-man
|
||||
|
||||
ln -s "$tex" "$out/share/texmf"
|
||||
'';
|
||||
|
||||
outputs = [ "out" "tex" ];
|
||||
|
||||
tlType = "run";
|
||||
passthru.pkgs = [ noweb.tex ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A simple, extensible literate-programming tool";
|
||||
homepage = https://www.cs.tufts.edu/~nr/noweb;
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ yurrriq ];
|
||||
platforms = with platforms; linux ++ darwin;
|
||||
};
|
||||
}
|
||||
}; in noweb
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{ stdenv, fetchFromGitHub, qtbase, qtwebengine, qtwebkit, qmake, makeWrapper, minizinc }:
|
||||
let
|
||||
version = "2.3.0";
|
||||
version = "2.3.1";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
name = "minizinc-ide-${version}";
|
||||
@@ -12,7 +12,7 @@ stdenv.mkDerivation {
|
||||
owner = "MiniZinc";
|
||||
repo = "MiniZincIDE";
|
||||
rev = version;
|
||||
sha256 = "0458k7m97qxxylcl60qvp026kicfc4ilxwlb1p3jvjhi9384r00a";
|
||||
sha256 = "0w9p5j2i7q4khmxyk2lr7a3qb2kd6ff1hfssxhgpm7zgzixm2300";
|
||||
};
|
||||
|
||||
sourceRoot = "source/MiniZincIDE";
|
||||
|
||||
@@ -1,28 +1,30 @@
|
||||
{ stdenv, lib, fetchFromGitHub
|
||||
, gcc-arm-embedded, binutils-arm-embedded, libftdi
|
||||
, gcc-arm-embedded, libftdi1
|
||||
, python, pythonPackages
|
||||
}:
|
||||
|
||||
with lib;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "blackmagic-${version}";
|
||||
version = "1.6.1";
|
||||
pname = "blackmagic";
|
||||
version = "unstable-2019-08-13";
|
||||
# `git describe --always`
|
||||
firmwareVersion = "v1.6.1-317-gc9c8b08";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "blacksphere";
|
||||
repo = "blackmagic";
|
||||
rev = "29386aee140e5e99a958727358f60980418b4c88";
|
||||
sha256 = "05x19y80mixk6blpnfpfngy5d41jpjvdqgjzkmhv1qc03bhyhc82";
|
||||
rev = "c9c8b089f716c31433432f5ee54c5c206e4945cf";
|
||||
sha256 = "0175plba7h3r1p584ygkjlvg2clvxa2m0xfdcb2v8jza2vzc8ywd";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
gcc-arm-embedded binutils-arm-embedded
|
||||
gcc-arm-embedded
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libftdi
|
||||
libftdi1
|
||||
python
|
||||
pythonPackages.intelhex
|
||||
];
|
||||
@@ -30,7 +32,7 @@ stdenv.mkDerivation rec {
|
||||
postPatch = ''
|
||||
# Prevent calling out to `git' to generate a version number:
|
||||
substituteInPlace src/Makefile \
|
||||
--replace '`git describe --always --dirty`' '${version}'
|
||||
--replace '$(shell git describe --always --dirty)' '${firmwareVersion}'
|
||||
|
||||
# Fix scripts that generate headers:
|
||||
for f in $(find scripts libopencm3/scripts -type f); do
|
||||
@@ -41,6 +43,8 @@ stdenv.mkDerivation rec {
|
||||
buildPhase = "${stdenv.shell} ${./helper.sh}";
|
||||
installPhase = ":"; # buildPhase does this.
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = {
|
||||
description = "In-application debugger for ARM Cortex microcontrollers";
|
||||
longDescription = ''
|
||||
@@ -56,7 +60,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
homepage = https://github.com/blacksphere/blackmagic;
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ pjones ];
|
||||
maintainers = with maintainers; [ pjones emily ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -10,6 +10,8 @@ out=${out:-/tmp}
|
||||
|
||||
################################################################################
|
||||
export CFLAGS=$NIX_CFLAGS_COMPILE
|
||||
export MAKEFLAGS="\
|
||||
${enableParallelBuilding:+-j${NIX_BUILD_CORES} -l${NIX_BUILD_CORES}}"
|
||||
|
||||
################################################################################
|
||||
PRODUCTS="blackmagic.bin blackmagic.hex blackmagic_dfu.bin blackmagic_dfu.hex"
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "cgdb-${version}";
|
||||
version = "0.7.0";
|
||||
version = "0.7.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://cgdb.me/files/${name}.tar.gz";
|
||||
sha256 = "08slzg3702v5nivjhdx2bciqxc5vqcn8pc4i4lsgkcwdcrj94ymz";
|
||||
sha256 = "1671gpz5gx5j0zga8xy2x7h33vqh3nij93lbb6dbb366ivjknwmv";
|
||||
};
|
||||
|
||||
buildInputs = [ ncurses readline flex texinfo ];
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cli11";
|
||||
version = "1.7.1";
|
||||
version = "1.8.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "CLIUtils";
|
||||
repo = "CLI11";
|
||||
rev = "v${version}";
|
||||
sha256 = "0wddck970pczk7c201i2g6s85mkv4f2f4zxy6mndh3pfz41wcs2d";
|
||||
sha256 = "0i1x4ax5hal7jdsxw40ljwfv68h0ac85iyi35i8p52p9s5qsc71q";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
@@ -94,6 +94,6 @@ stdenv.mkDerivation rec {
|
||||
license = stdenv.lib.licenses.gpl3Plus;
|
||||
|
||||
platforms = with platforms; linux ++ cygwin ++ darwin;
|
||||
maintainers = with maintainers; [ pierron ];
|
||||
maintainers = with maintainers; [ pierron globin ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,10 +1,18 @@
|
||||
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
||||
{ stdenv
|
||||
, buildGoPackage
|
||||
, fetchFromGitHub
|
||||
, makeWrapper
|
||||
, mercurial
|
||||
, git
|
||||
}:
|
||||
|
||||
buildGoPackage rec {
|
||||
name = "hound-unstable-${version}";
|
||||
version = "2018-11-02";
|
||||
rev = "74ec7448a234d8d09e800b92e52c92e378c07742";
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
goPackagePath = "github.com/etsy/hound";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
@@ -16,6 +24,12 @@ buildGoPackage rec {
|
||||
|
||||
goDeps = ./deps.nix;
|
||||
|
||||
postInstall = with stdenv; let
|
||||
binPath = lib.makeBinPath [ mercurial git ];
|
||||
in ''
|
||||
wrapProgram $bin/bin/houndd --prefix PATH : ${binPath}
|
||||
'';
|
||||
|
||||
meta = {
|
||||
inherit (src.meta) homepage;
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ in stdenv.mkDerivation rec {
|
||||
description = "Visualize logs and time-stamped data";
|
||||
homepage = http://www.elasticsearch.org/overview/kibana;
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ offline rickynils ];
|
||||
maintainers = with maintainers; [ offline ];
|
||||
platforms = with platforms; unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -57,7 +57,7 @@ in stdenv.mkDerivation rec {
|
||||
description = "Visualize logs and time-stamped data";
|
||||
homepage = http://www.elasticsearch.org/overview/kibana;
|
||||
license = if enableUnfree then licenses.elastic else licenses.asl20;
|
||||
maintainers = with maintainers; [ offline rickynils basvandijk ];
|
||||
maintainers = with maintainers; [ offline basvandijk ];
|
||||
platforms = with platforms; unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -57,7 +57,7 @@ in stdenv.mkDerivation rec {
|
||||
description = "Visualize logs and time-stamped data";
|
||||
homepage = http://www.elasticsearch.org/overview/kibana;
|
||||
license = if enableUnfree then licenses.elastic else licenses.asl20;
|
||||
maintainers = with maintainers; [ offline rickynils basvandijk ];
|
||||
maintainers = with maintainers; [ offline basvandijk ];
|
||||
platforms = with platforms; unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -2,10 +2,11 @@
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libtool-2.4.6";
|
||||
pname = "libtool";
|
||||
version = "2.4.6";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/libtool/${name}.tar.gz";
|
||||
url = "mirror://gnu/libtool/${pname}-${version}.tar.gz";
|
||||
sha256 = "1qq61k6lp1fp75xs398yzi6wvbx232l7xbyn3p13cnh27mflvgg3";
|
||||
};
|
||||
|
||||
@@ -23,13 +24,14 @@ stdenv.mkDerivation rec {
|
||||
doCheck = false;
|
||||
doInstallCheck = false;
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
# Don't run the native `strip' when cross-compiling. This breaks at least
|
||||
# with `.a' files for MinGW.
|
||||
dontStrip = stdenv.hostPlatform != stdenv.buildPlatform;
|
||||
|
||||
meta = {
|
||||
meta = with stdenv.lib; {
|
||||
description = "GNU Libtool, a generic library support script";
|
||||
|
||||
longDescription = ''
|
||||
GNU libtool is a generic library support script. Libtool hides
|
||||
the complexity of using shared libraries behind a consistent,
|
||||
@@ -39,12 +41,9 @@ stdenv.mkDerivation rec {
|
||||
your Makefile, Makefile.in, or Makefile.am. See the
|
||||
documentation for details.
|
||||
'';
|
||||
|
||||
homepage = https://www.gnu.org/software/libtool/;
|
||||
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = [ ];
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@ index f93e67a..2eb2db9 100644
|
||||
+ defaults.variables.STAT = "stat"
|
||||
defaults.variables.STATFLAG = "-f '%A'"
|
||||
- local version = util.popen_read("sw_vers -productVersion")
|
||||
+ local version = "10.10"
|
||||
+ local version = os.getenv("MACOSX_DEPLOYMENT_TARGET") or "10.12"
|
||||
version = tonumber(version and version:match("^[^.]+%.([^.]+)")) or 3
|
||||
if version >= 10 then
|
||||
version = 8
|
||||
|
||||
@@ -7,7 +7,7 @@ index c5af5a2..1949fdc 100644
|
||||
defaults.arch = "macosx-"..target_cpu
|
||||
defaults.variables.LIBFLAG = "-bundle -undefined dynamic_lookup -all_load"
|
||||
- local version = util.popen_read("sw_vers -productVersion")
|
||||
+ local version = "10.10"
|
||||
+ local version = os.getenv("MACOSX_DEPLOYMENT_TARGET") or "10.12"
|
||||
version = tonumber(version and version:match("^[^.]+%.([^.]+)")) or 3
|
||||
if version >= 10 then
|
||||
version = 8
|
||||
|
||||
@@ -1,21 +1,18 @@
|
||||
{ stdenv, fetchFromGitHub, cargo, rustc, rustPlatform, pkgconfig, glib, openssl, darwin }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
version = "0.2.9";
|
||||
version = "0.2.10";
|
||||
name = "sccache-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mozilla";
|
||||
repo = "sccache";
|
||||
rev = version;
|
||||
sha256 = "0glaaan6fh19a2d8grgsgnbgw5w53vjl0qmvvnq0ldp3hax90v46";
|
||||
sha256 = "13fiifv3bi9shzp30wd7k2nd2j43vzdhk6z5rnfn5a9hmijqpg9n";
|
||||
};
|
||||
cargoSha256 = "0chfdyhj9lyxydbnmldc8rh2v9dda46sxhv35g34a5137sjrizfh";
|
||||
cargoSha256 = "1bkglgrasyjyzjj9mwm32d3g3mg5yv74jj3zl7jf20dlq3rg3fh6";
|
||||
|
||||
cargoBuildFlags = [ "--features=all" ];
|
||||
# see https://github.com/mozilla/sccache/issues/467
|
||||
postPatch = ''
|
||||
sed -i 's/\(version = "0.2.9\)-alpha.0"/\1"/g' Cargo.lock
|
||||
'';
|
||||
nativeBuildInputs = [
|
||||
pkgconfig cargo rustc
|
||||
];
|
||||
|
||||
@@ -1,17 +1,19 @@
|
||||
{ stdenv, fetchurl, cmake, libusb1 }:
|
||||
{ stdenv, fetchFromGitHub, cmake, libusb1 }:
|
||||
|
||||
# IMPORTANT: You need permissions to access the stlink usb devices.
|
||||
# Add services.udev.pkgs = [ pkgs.stlink ] to your configuration.nix
|
||||
|
||||
let
|
||||
version = "1.3.0";
|
||||
version = "1.5.1";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
name = "stlink-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/texane/stlink/archive/${version}.tar.gz";
|
||||
sha256 = "3e8cba21744d2c38a0557f6835a05189e1b98202931bb0183d22efc462c893dd";
|
||||
src = fetchFromGitHub {
|
||||
owner = "texane";
|
||||
repo = "stlink";
|
||||
rev = "v1.5.1";
|
||||
sha256 = "1d5gxiqpsm8fc105cxlp27af9fk339fap5h6nay21x5a7n61jgyc";
|
||||
};
|
||||
|
||||
buildInputs = [ cmake libusb1 ];
|
||||
|
||||
37
pkgs/development/tools/misc/swig/4.nix
Normal file
37
pkgs/development/tools/misc/swig/4.nix
Normal file
@@ -0,0 +1,37 @@
|
||||
{ stdenv, fetchFromGitHub, autoconf, automake, libtool, bison, pcre }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "swig";
|
||||
version = "4.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "swig";
|
||||
repo = "swig";
|
||||
rev = "rel-${version}";
|
||||
sha256 = "0yx33972jd3214xr3mrap0j5clma9bvs42qz8x38dfz62xlsi78v";
|
||||
};
|
||||
|
||||
PCRE_CONFIG = "${pcre.dev}/bin/pcre-config";
|
||||
nativeBuildInputs = [ autoconf automake libtool bison ];
|
||||
buildInputs = [ pcre ];
|
||||
|
||||
configureFlags = [ "--without-tcl" ];
|
||||
|
||||
# Disable ccache documentation as it needs yodl
|
||||
postPatch = ''
|
||||
sed -i '/man1/d' CCache/Makefile.in
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
./autogen.sh
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "SWIG, an interface compiler that connects C/C++ code to higher-level languages";
|
||||
homepage = http://swig.org/;
|
||||
# Different types of licenses available: http://www.swig.org/Release/LICENSE .
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ orivej ];
|
||||
platforms = with platforms; linux ++ darwin;
|
||||
};
|
||||
}
|
||||
22
pkgs/development/tools/misc/terracognita/default.nix
Normal file
22
pkgs/development/tools/misc/terracognita/default.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "terracognita";
|
||||
version = "0.1.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cycloidio";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0ljh9dyn919k5f0yaca5an2vczj8cd5cb6qb4i5bdgmlh3wijiag";
|
||||
};
|
||||
|
||||
modSha256 = "1ssz6rhdqma79x75qsxpa9is5zw1nlc0rv1h23dfsk8vla3p84ml";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Reads from existing Cloud Providers (reverse Terraform) and generates your infrastructure as code on Terraform configuration";
|
||||
homepage = "https://github.com/cycloidio/terracognita";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.marsam ];
|
||||
};
|
||||
}
|
||||
42
pkgs/development/tools/misc/tinyprog/default.nix
Normal file
42
pkgs/development/tools/misc/tinyprog/default.nix
Normal file
@@ -0,0 +1,42 @@
|
||||
{ lib
|
||||
, python3Packages
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
with python3Packages; buildPythonApplication rec {
|
||||
pname = "tinyprog";
|
||||
# `python setup.py --version` from repo checkout
|
||||
version = "1.0.24.dev99+ga77f828";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tinyfpga";
|
||||
repo = "TinyFPGA-Bootloader";
|
||||
rev = "a77f828d3d6ae077e323ec96fc3925efab5aa9d7";
|
||||
sha256 = "0jg47q0n1qkdrzri2q6n9a7czicj0qk58asz0xhzkajx1k9z3g5q";
|
||||
};
|
||||
|
||||
sourceRoot = "source/programmer";
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pyserial
|
||||
jsonmerge
|
||||
intelhex
|
||||
tqdm
|
||||
six
|
||||
packaging
|
||||
pyusb
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ setuptools_scm ];
|
||||
|
||||
preBuild = ''
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION="${version}"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = https://github.com/tinyfpga/TinyFPGA-Bootloader/tree/master/programmer;
|
||||
description = "Programmer for FPGA boards using the TinyFPGA USB Bootloader";
|
||||
maintainers = with maintainers; [ emily ];
|
||||
license = licenses.asl20;
|
||||
};
|
||||
}
|
||||
@@ -19,6 +19,9 @@ let param = {
|
||||
"4.07" = {
|
||||
version = "4.07+1";
|
||||
sha256 = "0cxl4hkqcvspvkx4f2k83217rh6051fll9i2yz7cw6m3bq57mdvl"; };
|
||||
"4.08" = {
|
||||
version = "4.08+1";
|
||||
sha256 = "0qplawvxwai25bi27niw2cgz2al01kcnkj8wxwhxslpi21z6pyx1"; };
|
||||
}."${ocaml.meta.branch}";
|
||||
in
|
||||
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
stdenv.mkDerivation {
|
||||
|
||||
name = "camlp5-7.07";
|
||||
name = "camlp5-7.08";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/camlp5/camlp5/archive/rel707.tar.gz";
|
||||
sha256 = "1c8v45553ccbqha2ypfranqlgw06rr5wjr2hlnrx5bf9jfq0h0dn";
|
||||
url = "https://github.com/camlp5/camlp5/archive/rel708.tar.gz";
|
||||
sha256 = "0b39bvr1aa7kzjhbyycmvcrwil2yjbxc84cb43zfzahx4p2aqr76";
|
||||
};
|
||||
|
||||
buildInputs = [ ocaml ];
|
||||
|
||||
@@ -6,10 +6,10 @@ else
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "dune";
|
||||
version = "1.11.0";
|
||||
version = "1.11.1";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/ocaml/dune/releases/download/${version}/dune-build-info-${version}.tbz";
|
||||
sha256 = "11jl2vavypbgvwblch25q10hsd16myik9b3cd4d64zhxk1fzbzdw";
|
||||
sha256 = "0hizfaidl1bxl614i65yvyfhsjbp93y7y9qy1a8zw448w1js5bsp";
|
||||
};
|
||||
|
||||
buildInputs = [ ocaml findlib ];
|
||||
|
||||
@@ -1,33 +1,17 @@
|
||||
{ stdenv, fetchurl, fetchpatch, m4, ncurses, ocaml, writeText }:
|
||||
|
||||
let param =
|
||||
if stdenv.lib.versionAtLeast ocaml.version "4"
|
||||
then {
|
||||
version = "1.8.0";
|
||||
sha256 = "1b97zqjdriqd2ikgh4rmqajgxwdwn013riji5j53y3xvcmnpsyrb";
|
||||
} else {
|
||||
version = "1.7.3";
|
||||
sha256 = "12xx8si1qv3xz90qsrpazjjk4lc1989fzm97rsmc4diwla7n15ni";
|
||||
patches = [ (fetchpatch {
|
||||
url = "https://raw.githubusercontent.com/ocaml/opam-repository/1f29c5ef8eccd373e5ff2169a30bfd95a9ae6050/packages/ocamlfind/ocamlfind.1.7.3-1/files/threads.patch";
|
||||
sha256 = "0cqgpjqpmfbr0ph3jr25gw8hgckj4qlfwmir6vkgi5hvn2qnjpx3";
|
||||
}) ];
|
||||
};
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ocaml-findlib-${version}";
|
||||
inherit (param) version;
|
||||
version = "1.8.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://download.camlcity.org/download/findlib-${version}.tar.gz";
|
||||
inherit (param) sha256;
|
||||
sha256 = "00s3sfb02pnjmkax25pcnljcnhcggiliccfz69a72ic7gsjwz1cf";
|
||||
};
|
||||
|
||||
buildInputs = [m4 ncurses ocaml];
|
||||
|
||||
patches = [ ./ldconf.patch ./install_topfind.patch ]
|
||||
++ (param.patches or []);
|
||||
patches = [ ./ldconf.patch ./install_topfind.patch ];
|
||||
|
||||
dontAddPrefix=true;
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
mkdir -p "$(prefix)$(OCAMLFIND_BIN)"
|
||||
- test $(INSTALL_TOPFIND) -eq 0 || cp topfind "$(prefix)$(OCAML_CORE_STDLIB)"
|
||||
+ test $(INSTALL_TOPFIND) -eq 0 || cp topfind "$(prefix)$(OCAML_SITELIB)"
|
||||
files=`$(SH) $(TOP)/tools/collect_files $(TOP)/Makefile.config findlib.cmi findlib.mli findlib.cma findlib.cmxa findlib.a findlib.cmxs topfind.cmi topfind.mli fl_package_base.mli fl_package_base.cmi fl_metascanner.mli fl_metascanner.cmi fl_metatoken.cmi findlib_top.cma findlib_top.cmxa findlib_top.a findlib_top.cmxs findlib_dynload.cma findlib_dynload.cmxa findlib_dynload.a findlib_dynload.cmxs fl_dynload.mli fl_dynload.cmi META` && \
|
||||
files=`$(SH) $(TOP)/tools/collect_files $(TOP)/Makefile.config findlib.cmi findlib.mli findlib.cma findlib.cmxa findlib$(LIB_SUFFIX) findlib.cmxs topfind.cmi topfind.mli fl_package_base.mli fl_package_base.cmi fl_metascanner.mli fl_metascanner.cmi fl_metatoken.cmi findlib_top.cma findlib_top.cmxa findlib_top$(LIB_SUFFIX) findlib_top.cmxs findlib_dynload.cma findlib_dynload.cmxa findlib_dynload$(LIB_SUFFIX) findlib_dynload.cmxs fl_dynload.mli fl_dynload.cmi META` && \
|
||||
cp $$files "$(prefix)$(OCAML_SITELIB)/$(NAME)"
|
||||
f="ocamlfind$(EXEC_SUFFIX)"; { test -f ocamlfind_opt$(EXEC_SUFFIX) && f="ocamlfind_opt$(EXEC_SUFFIX)"; }; \
|
||||
|
||||
|
||||
@@ -1,18 +1,23 @@
|
||||
{stdenv, fetchurl, jre}:
|
||||
{stdenv, fetchurl, fetchFromGitHub, jre}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "antlr-${version}";
|
||||
pname = "antlr";
|
||||
version = "3.5.2";
|
||||
src = fetchurl {
|
||||
url ="https://www.antlr3.org/download/antlr-${version}-complete.jar";
|
||||
jar = fetchurl {
|
||||
url = "https://www.antlr3.org/download/antlr-${version}-complete.jar";
|
||||
sha256 = "0srjwxipwsfzmpi0v32d1l5lzk9gi5in8ayg33sq8wyp8ygnbji6";
|
||||
};
|
||||
|
||||
dontUnpack = true;
|
||||
src = fetchFromGitHub {
|
||||
owner = "antlr";
|
||||
repo = "antlr3";
|
||||
rev = "5c2a916a10139cdb5c7c8851ee592ed9c3b3d4ff";
|
||||
sha256 = "1i0w2v9prrmczlwkfijfp4zfqfgrss90a7yk2hg3y0gkg2s4abbk";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out"/{lib/antlr,bin}
|
||||
cp "$src" "$out/lib/antlr/antlr-${version}-complete.jar"
|
||||
mkdir -p "$out"/{lib/antlr,bin,include}
|
||||
cp "$jar" "$out/lib/antlr/antlr-${version}-complete.jar"
|
||||
cp runtime/Cpp/include/* $out/include/
|
||||
|
||||
echo "#! ${stdenv.shell}" >> "$out/bin/antlr"
|
||||
echo "'${jre}/bin/java' -cp '$out/lib/antlr/antlr-${version}-complete.jar' -Xms200M -Xmx400M org.antlr.Tool \"\$@\"" >> "$out/bin/antlr"
|
||||
@@ -32,8 +37,9 @@ stdenv.mkDerivation rec {
|
||||
frameworks. From a grammar, ANTLR generates a parser that can build and
|
||||
walk parse trees.
|
||||
'';
|
||||
homepage = https://www.antlr.org/;
|
||||
homepage = "https://www.antlr.org/";
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ stdenv.lib.maintainers.farlion ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -2,14 +2,14 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "byacc-${version}";
|
||||
version = "20180609";
|
||||
version = "20190617";
|
||||
|
||||
src = fetchurl {
|
||||
urls = [
|
||||
"ftp://ftp.invisible-island.net/byacc/${name}.tgz"
|
||||
"https://invisible-mirror.net/archives/byacc/${name}.tgz"
|
||||
];
|
||||
sha256 = "173l9yai5yndbyn8nzdl6q11wv4x959bd0w392i82nfsqcz0pfsv";
|
||||
sha256 = "13ai0az00c86s4k94cpgh48nf5dfccpvccpw635z42wjgcb6hy7q";
|
||||
};
|
||||
|
||||
configureFlags = [
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
{ lib, buildPythonApplication, fetchFromGitHub }:
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "pyprof2calltree";
|
||||
version = "1.4.4";
|
||||
|
||||
# Fetch from GitHub because the PyPi packaged version does not
|
||||
# include all test files.
|
||||
src = fetchFromGitHub {
|
||||
owner = "pwaller";
|
||||
repo = "pyprof2calltree";
|
||||
rev = "v" + version;
|
||||
sha256 = "1vrip41ib7nmkwa8rjny1na1wyp7nvvgvm0h9bd21i262kbm4nqx";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Help visualize profiling data from cProfile with kcachegrind and qcachegrind";
|
||||
homepage = https://pypi.python.org/pypi/pyprof2calltree/;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ sfrijters ];
|
||||
};
|
||||
}
|
||||
@@ -6,8 +6,8 @@ let
|
||||
## fetchgit info
|
||||
url = git://sourceware.org/git/systemtap.git;
|
||||
rev = "release-${version}";
|
||||
sha256 = "075p45ndr4pzrf5679hcsw1ws4x0xqvx3m037v04545762hki6la";
|
||||
version = "4.0";
|
||||
sha256 = "0mmpiq7bsrwhp7z07a1pwka4q6d2fbmdx5wp83nxj31rvdxhqwnw";
|
||||
version = "4.1";
|
||||
|
||||
inherit (kernel) stdenv;
|
||||
inherit (stdenv) lib;
|
||||
|
||||
@@ -2,16 +2,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cargo-bloat";
|
||||
version = "0.7.2";
|
||||
version = "0.8.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "RazrFalcon";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1g011c98vix0285ws8xby5v50272v15zfyaj948vazsb4zl0gxbm";
|
||||
sha256 = "1r8d3mqzaiasvhxmry8va55ggq817y82x8yb3vzih84lxq134y8n";
|
||||
};
|
||||
|
||||
cargoSha256 = "0bpy8888zbqy9b8hkbfsdxqcs88dn2r7p3qnhfn7a6ri4bw7ihhw";
|
||||
cargoSha256 = "1ys3wd1k39vkll25c56sfv767rcd53yb46adwgzdkkyl2pjphf1r";
|
||||
|
||||
meta = with lib; {
|
||||
description = "A tool and Cargo subcommand that helps you find out what takes most of the space in your executable";
|
||||
|
||||
@@ -1,18 +1,22 @@
|
||||
{ stdenv, rustPlatform, fetchFromGitHub, darwin }:
|
||||
{ stdenv, rustPlatform, fetchFromGitHub, llvmPackages, darwin }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cargo-expand";
|
||||
version = "0.4.12";
|
||||
version = "0.4.13";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dtolnay";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0m57v7mh7wdl0rdbad7vkvcgy93p9gcb971wap8i5nzjvzmp4wlb";
|
||||
sha256 = "0s3xd9dr0n64j0m38gd4cafrdr5vnpl557ks4wr0jszyhldnlfkz";
|
||||
};
|
||||
|
||||
cargoSha256 = "1wvqxj2w02d6zhyw3z5v0w4bfmbmldh63ygmvfxa3ngfb36gcacz";
|
||||
buildInputs = stdenv.lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security;
|
||||
cargoSha256 = "13zz3n1p75267h3qrmvpmd8agnkbk8vfbr8s38wcyysck81pr4px";
|
||||
|
||||
buildInputs = [ llvmPackages.libclang ]
|
||||
++ stdenv.lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security;
|
||||
|
||||
LIBCLANG_PATH = "${llvmPackages.libclang}/lib";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A utility and Cargo subcommand designed to let people expand macros in their Rust source code";
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cargo-make";
|
||||
version = "0.21.0";
|
||||
version = "0.22.0";
|
||||
|
||||
src =
|
||||
let
|
||||
@@ -10,11 +10,11 @@ rustPlatform.buildRustPackage rec {
|
||||
owner = "sagiegurari";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "02hxf0mbk4nj9ja1z70k8fskh1kl3pixwy7gx0si5fbp9rmn04wk";
|
||||
sha256 = "13nl370immbhjarc0vfzrsflml3alh2f2zrh4znbks4yc3yp790z";
|
||||
};
|
||||
cargo-lock = fetchurl {
|
||||
url = "https://gist.githubusercontent.com/xrelkd/e4c9c7738b21f284d97cb7b1d181317d/raw/b6017fd825b52987ac7c3b65620917e5d567312b/cargo-make-Cargo.lock";
|
||||
sha256 = "15ajxza58bbviwjxl98c0z89w4430902j0z46b594nbm02kv2ad9";
|
||||
url = "https://gist.githubusercontent.com/xrelkd/e4c9c7738b21f284d97cb7b1d181317d/raw/d31cfb3598d0a2886abd4d2ed43a02d493c8de8c/cargo-make-Cargo.lock";
|
||||
sha256 = "08fzl98d277n9xn3hrg9jahkqwdjfi5saajsppwzdbb3l7xw4jh2";
|
||||
};
|
||||
in
|
||||
runCommand "cargo-make-src" {} ''
|
||||
@@ -25,7 +25,7 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
cargoSha256 = "1fsfjavad1cbq1xvck2j5vyppxck606cpmqrwbs4fjvdmlbgx3gp";
|
||||
cargoSha256 = "0gj4a15slxnp31mlfgh57h3cwv0lnw5gdmkrmmj79migi96i5i6y";
|
||||
|
||||
# Some tests fail because they need network access.
|
||||
# However, Travis ensures a proper build.
|
||||
|
||||
@@ -43,7 +43,7 @@ rustPlatform.buildRustPackage rec {
|
||||
description = "A utility intended to provide Rust code completion for editors and IDEs";
|
||||
homepage = https://github.com/racer-rust/racer;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jagajaga globin ];
|
||||
maintainers = with maintainers; [ jagajaga ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,34 +0,0 @@
|
||||
{ stdenv, fetchFromGitHub, rustPlatform, darwin }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
name = "rustfmt-${version}";
|
||||
version = "1.2.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rust-lang";
|
||||
repo = "rustfmt";
|
||||
rev = "v${version}";
|
||||
sha256 = "1k9p6sp8q87flx9vzg46880ir7likvbydai3g6q76278h86rn0v8";
|
||||
};
|
||||
|
||||
cargoSha256 = "08x6vy5v2vgrk3gsw3qcvv52a7hifsgcsnsg1phlk1ikaff21y4z";
|
||||
|
||||
buildInputs = stdenv.lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security;
|
||||
|
||||
# As of 1.0.0 and rustc 1.30 rustfmt requires a nightly compiler
|
||||
RUSTC_BOOTSTRAP = 1;
|
||||
|
||||
# we run tests in debug mode so tests look for a debug build of
|
||||
# rustfmt. Anyway this adds nearly no compilation time.
|
||||
preCheck = ''
|
||||
cargo build
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A tool for formatting Rust code according to style guidelines";
|
||||
homepage = https://github.com/rust-lang-nursery/rustfmt;
|
||||
license = with licenses; [ mit asl20 ];
|
||||
maintainers = [ maintainers.globin ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
@@ -4,12 +4,12 @@ with lib;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "sauce-connect-${version}";
|
||||
version = "4.5.3";
|
||||
version = "4.5.4";
|
||||
|
||||
src = fetchurl (
|
||||
if stdenv.hostPlatform.system == "x86_64-linux" then {
|
||||
url = "https://saucelabs.com/downloads/sc-${version}-linux.tar.gz";
|
||||
sha256 = "05fv9rggibx6dbdw8ywwwq45i9gdc53b7i7jhvl01m1sn2ygrrqd";
|
||||
sha256 = "1w8fw47q4bzpk5jfagmc0cbp69jdd6jcv2xl1gx91cbp7xd8mcbf";
|
||||
} else if stdenv.hostPlatform.system == "i686-linux" then {
|
||||
url = "https://saucelabs.com/downloads/sc-${version}-linux32.tar.gz";
|
||||
sha256 = "1h9n1mzmrmlrbd0921b0sgg7m8z0w71pdb5sif6h1b9f97cp353x";
|
||||
|
||||
@@ -6,12 +6,12 @@ let
|
||||
allSpecs = {
|
||||
"x86_64-linux" = {
|
||||
system = "linux64";
|
||||
sha256 = "0iq015nyhdn1z50aj6k2d38cf1vbp59x7qi48aikb4z1h3h1j6a6";
|
||||
sha256 = "04wb6h57daxmnv3a3xrcsznawbx7r8wyi1vk1g26z2l2ppcnsbzv";
|
||||
};
|
||||
|
||||
"x86_64-darwin" = {
|
||||
system = "mac64";
|
||||
sha256 = "0bf59g7vx7qbz9lx6wgk82zjbf8isag1n3lbi0gw4b2bgv8md8ia";
|
||||
sha256 = "0f8j7m8ardaaw8pv02vxhwkqbcm34366bln0np0j0ig21d4fag09";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -28,7 +28,7 @@ let
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "chromedriver-${version}";
|
||||
version = "2.46";
|
||||
version = "76.0.3809.68";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://chromedriver.storage.googleapis.com/${version}/chromedriver_${spec.system}.zip";
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
|
||||
buildGoPackage rec {
|
||||
name = "skaffold-${version}";
|
||||
version = "0.30.0";
|
||||
# rev is the 0.30.0 commit, mainly for skaffold version command output
|
||||
rev = "fe31429012110e6fd70f97971288bd266ba95bed";
|
||||
version = "0.35.0";
|
||||
# rev is the 0.35.0 commit, mainly for skaffold version command output
|
||||
rev = "1da7608f9eb21ebe722bc054584e591e4223a3dc";
|
||||
|
||||
goPackagePath = "github.com/GoogleContainerTools/skaffold";
|
||||
subPackages = ["cmd/skaffold"];
|
||||
|
||||
@@ -5,13 +5,13 @@
|
||||
with stdenv.lib;
|
||||
|
||||
let
|
||||
version = "0.1.36";
|
||||
version = "0.1.37";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
rev = "v${version}";
|
||||
owner = "containers";
|
||||
repo = "skopeo";
|
||||
sha256 = "0q0d6dzx9q57fim0drxs7l45500f3228wq50vzj232x5qx5h00sj";
|
||||
sha256 = "1ly5yq3aj4ciqn6hbhvxqp1im81pbas9smdhbbks7iwjvh944d62";
|
||||
};
|
||||
|
||||
defaultPolicyFile = runCommand "skopeo-default-policy.json" {} "cp ${src}/default-policy.json $out";
|
||||
|
||||
@@ -7,22 +7,22 @@ let
|
||||
boostWithPython3 = boost.override { python = python3; enablePython = true; };
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "trellis-${version}";
|
||||
version = "2019.04.22";
|
||||
pname = "trellis";
|
||||
version = "2019.08.09";
|
||||
|
||||
srcs = [
|
||||
(fetchFromGitHub {
|
||||
owner = "symbiflow";
|
||||
repo = "prjtrellis";
|
||||
rev = "5eb0ad870f30422b95d090ac9a476343809c62b9";
|
||||
sha256 = "10jkjfhqdr2bff41mh3w8a7kszf2whqqgk5s1z5z07mlh6zfdjlg";
|
||||
rev = "a67379179985bb12a611c75d975548cdf6e7d12e";
|
||||
sha256 = "0vqwfsblf7ylz0jnnf532kap5s1d1zcvbavxmb6a4v32b9xfdv35";
|
||||
name = "trellis";
|
||||
})
|
||||
(fetchFromGitHub {
|
||||
owner = "symbiflow";
|
||||
repo = "prjtrellis-db";
|
||||
rev = "d0b219af41ae3da6150645fbc5cc5613b530603f";
|
||||
sha256 = "1mnzvrqrcbfypvbagwyf6arv3kmj6q7n27gcmyk6ap2xnavkx4bq";
|
||||
rev = "b4d626b6402c131e9a035470ffe4cf33ccbe7986";
|
||||
sha256 = "0k26lq6c049ja8hhqcljwjb1y5k4gcici23l2n86gyp83jr03ilx";
|
||||
name = "database";
|
||||
})
|
||||
];
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
let
|
||||
# NOTE: bumping the version and updating the hash is insufficient;
|
||||
# you must use bundix to generate a new gemset.nix in the Vagrant source.
|
||||
version = "2.2.3";
|
||||
version = "2.2.5";
|
||||
url = "https://github.com/hashicorp/vagrant/archive/v${version}.tar.gz";
|
||||
sha256 = "1j00glqn8b1zsgqg2nyk5as405a6s6vclswg2ri0a229hnsiabvs";
|
||||
sha256 = "0a228f5185b24b72efcc5a3924f86fa9fabab6f7562c3c63c1d9d239aa72a7b1";
|
||||
|
||||
deps = bundlerEnv rec {
|
||||
name = "${pname}-${version}";
|
||||
|
||||
@@ -1,20 +1,13 @@
|
||||
{
|
||||
addressable = {
|
||||
dependencies = ["public_suffix"];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "0bcm2hchn897xjhqj9zzsxf3n9xhddymj4lsclz508f4vw3av46l";
|
||||
type = "gem";
|
||||
};
|
||||
version = "2.6.0";
|
||||
};
|
||||
bcrypt_pbkdf = {
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "0cj4k13c7qvvck7y25i3xarvyqq8d27vl61jddifkc7llnnap1hv";
|
||||
sha256 = "02vssr285m7kpsr47jdmzbar1h1d0mnkmyrpr1zg828isfmwii35";
|
||||
type = "gem";
|
||||
};
|
||||
version = "1.0.0";
|
||||
version = "1.0.1";
|
||||
};
|
||||
builder = {
|
||||
source = {
|
||||
@@ -34,21 +27,14 @@
|
||||
version = "0.6.3";
|
||||
};
|
||||
concurrent-ruby = {
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "1ixcx9pfissxrga53jbdpza85qd5f6b5nq1sfqa9rnfq82qnlbp1";
|
||||
sha256 = "1x07r23s7836cpp5z9yrlbpljcxpax14yw4fy4bnp6crhr6x24an";
|
||||
type = "gem";
|
||||
};
|
||||
version = "1.1.4";
|
||||
};
|
||||
crack = {
|
||||
dependencies = ["safe_yaml"];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "0abb0fvgw00akyik1zxnq7yv391va148151qxdghnzngv66bl62k";
|
||||
type = "gem";
|
||||
};
|
||||
version = "0.4.3";
|
||||
version = "1.1.5";
|
||||
};
|
||||
diff-lcs = {
|
||||
source = {
|
||||
@@ -60,12 +46,14 @@
|
||||
};
|
||||
domain_name = {
|
||||
dependencies = ["unf"];
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "0abdlwb64ns7ssmiqhdwgl27ly40x2l27l8hs8hn0z4kb3zd2x3v";
|
||||
sha256 = "0lcqjsmixjp52bnlgzh4lg9ppsk52x9hpwdjd53k8jnbah2602h0";
|
||||
type = "gem";
|
||||
};
|
||||
version = "0.5.20180417";
|
||||
version = "0.5.20190701";
|
||||
};
|
||||
ed25519 = {
|
||||
source = {
|
||||
@@ -83,30 +71,26 @@
|
||||
};
|
||||
version = "2.7.0";
|
||||
};
|
||||
fake_ftp = {
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "0rn7lxdk3sqc2i4v2c5k25b9ca1qnkdf32nv04y760aml9mszwf7";
|
||||
type = "gem";
|
||||
};
|
||||
version = "0.1.1";
|
||||
};
|
||||
ffi = {
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "0j8pzj8raxbir5w5k6s7a042sb5k02pg0f8s4na1r5lan901j00p";
|
||||
sha256 = "06mvxpjply8qh4j3fj9wh08kdzwkbnvsiysh0vrhlk5cwxzjmblh";
|
||||
type = "gem";
|
||||
};
|
||||
version = "1.10.0";
|
||||
version = "1.11.1";
|
||||
};
|
||||
gssapi = {
|
||||
dependencies = ["ffi"];
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "0j93nsf9j57p7x4aafalvjg8hia2mmqv3aky7fmw2ck5yci343ix";
|
||||
sha256 = "13l6pqbfrx3vv7cw26nq9p8rnyp9br31gaz85q32wx6hnzfcriwh";
|
||||
type = "gem";
|
||||
};
|
||||
version = "1.2.0";
|
||||
version = "1.3.0";
|
||||
};
|
||||
gyoku = {
|
||||
dependencies = ["builder"];
|
||||
@@ -117,14 +101,6 @@
|
||||
};
|
||||
version = "1.3.1";
|
||||
};
|
||||
hashdiff = {
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "19ykg5pax8798nh1yv71adkx0zzs7gn2rxjj86v7nsw0jba5lask";
|
||||
type = "gem";
|
||||
};
|
||||
version = "0.3.8";
|
||||
};
|
||||
hashicorp-checkpoint = {
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
@@ -203,12 +179,14 @@
|
||||
version = "3.2.2";
|
||||
};
|
||||
mime-types-data = {
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "07wvp0aw2gjm4njibb70as6rh5hi1zzri5vky1q6jx95h8l56idc";
|
||||
sha256 = "1m00pg19cm47n1qlcxgl91ajh2yq0fszvn1vy8fy0s1jkrp9fw4a";
|
||||
type = "gem";
|
||||
};
|
||||
version = "3.2018.0812";
|
||||
version = "3.2019.0331";
|
||||
};
|
||||
multi_json = {
|
||||
source = {
|
||||
@@ -260,22 +238,6 @@
|
||||
};
|
||||
version = "2.6.0";
|
||||
};
|
||||
public_suffix = {
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "08q64b5br692dd3v0a9wq9q5dvycc6kmiqmjbdxkxbfizggsvx6l";
|
||||
type = "gem";
|
||||
};
|
||||
version = "3.0.3";
|
||||
};
|
||||
rake = {
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "01j8fc9bqjnrsxbppncai05h43315vmz9fwg28qdsgcjw9ck1d7n";
|
||||
type = "gem";
|
||||
};
|
||||
version = "12.0.0";
|
||||
};
|
||||
rb-fsevent = {
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
@@ -338,15 +300,6 @@
|
||||
};
|
||||
version = "3.5.0";
|
||||
};
|
||||
rspec-its = {
|
||||
dependencies = ["rspec-core" "rspec-expectations"];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "1pwphny5jawcm1hda3vs9pjv1cybaxy17dc1s75qd7drrvx697p3";
|
||||
type = "gem";
|
||||
};
|
||||
version = "1.2.0";
|
||||
};
|
||||
rspec-mocks = {
|
||||
dependencies = ["diff-lcs" "rspec-support"];
|
||||
source = {
|
||||
@@ -381,20 +334,14 @@
|
||||
version = "0.6.2";
|
||||
};
|
||||
rubyzip = {
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "1n1lb2sdwh9h27y244hxzg1lrxxg2m53pk1vq7p33bna003qkyrj";
|
||||
sha256 = "1w9gw28ly3zyqydnm8phxchf4ymyjl2r7zf7c12z8kla10cpmhlc";
|
||||
type = "gem";
|
||||
};
|
||||
version = "1.2.2";
|
||||
};
|
||||
safe_yaml = {
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "1hly915584hyi9q9vgd968x2nsi5yag9jyf5kq60lwzi5scr7094";
|
||||
type = "gem";
|
||||
};
|
||||
version = "1.0.4";
|
||||
version = "1.2.3";
|
||||
};
|
||||
thor = {
|
||||
source = {
|
||||
@@ -414,15 +361,14 @@
|
||||
version = "0.1.4";
|
||||
};
|
||||
unf_ext = {
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "06p1i6qhy34bpb8q8ms88y6f2kz86azwm098yvcc0nyqk9y729j1";
|
||||
sha256 = "1ll6w64ibh81qwvjx19h8nj7mngxgffg7aigjx11klvf5k2g4nxf";
|
||||
type = "gem";
|
||||
};
|
||||
version = "0.0.7.5";
|
||||
};
|
||||
vagrant = {
|
||||
dependencies = ["bcrypt_pbkdf" "childprocess" "ed25519" "erubis" "hashicorp-checkpoint" "i18n" "listen" "log4r" "net-scp" "net-sftp" "net-ssh" "rb-kqueue" "rest-client" "ruby_dep" "rubyzip" "vagrant_cloud" "wdm" "winrm" "winrm-elevated" "winrm-fs"];
|
||||
version = "0.0.7.6";
|
||||
};
|
||||
vagrant-spec = {
|
||||
dependencies = ["childprocess" "log4r" "rspec" "thor"];
|
||||
@@ -452,24 +398,17 @@
|
||||
};
|
||||
version = "0.1.1";
|
||||
};
|
||||
webmock = {
|
||||
dependencies = ["addressable" "crack" "hashdiff"];
|
||||
winrm = {
|
||||
dependencies = ["builder" "erubis" "gssapi" "gyoku" "httpclient" "logging" "nori" "rubyntlm"];
|
||||
groups = ["default"];
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "04hkcqsmbfnp8g237pisnc834vpgildklicbjbyikqg0bg1rwcy5";
|
||||
sha256 = "19vxrclxc5l8n2agwvv291740s6gna2phg3lkybjb0ldkmpi3sj2";
|
||||
type = "gem";
|
||||
};
|
||||
version = "2.3.2";
|
||||
};
|
||||
winrm = {
|
||||
dependencies = ["builder" "erubis" "gssapi" "gyoku" "httpclient" "logging" "nori" "rubyntlm"];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "0l299w172hl023b3v2vnbx4cqfjq9k2pp8blc1dz8n6g9dc6pk9f";
|
||||
type = "gem";
|
||||
};
|
||||
version = "2.3.1";
|
||||
};
|
||||
winrm-elevated = {
|
||||
dependencies = ["winrm" "winrm-fs"];
|
||||
source = {
|
||||
|
||||
@@ -3,17 +3,17 @@
|
||||
, pkgconfig, xlibsWrapper, libxcb, libXrandr, wayland }:
|
||||
stdenv.mkDerivation rec {
|
||||
name = "vulkan-validation-layers-${version}";
|
||||
version = "1.1.101.0"; # WARNING: glslang overrides in all-packages.nix must be updated to match known-good.json!
|
||||
version = "1.1.106.0"; # WARNING: glslang overrides in all-packages.nix must be updated to match known-good.json!
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "KhronosGroup";
|
||||
repo = "Vulkan-ValidationLayers";
|
||||
rev = "sdk-${version}";
|
||||
sha256 = "00gz72m393i3m3rh5hv9d0znzlz39cpw35ifchzb4cr11bi4mzyz";
|
||||
sha256 = "1sq42j8ikll2dyi9ygaz80lx89mvq9d21pkaf49gzhg4xjcd97dp";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ cmake python3 vulkan-headers vulkan-loader xlibsWrapper libxcb libXrandr wayland ];
|
||||
nativeBuildInputs = [ pkgconfig cmake python3 ];
|
||||
buildInputs = [ vulkan-headers vulkan-loader libxcb libXrandr wayland ];
|
||||
enableParallelBuilding = true;
|
||||
|
||||
cmakeFlags = [ "-DGLSLANG_INSTALL_DIR=${glslang}" ];
|
||||
|
||||
@@ -3,6 +3,8 @@
|
||||
, rustPlatform
|
||||
, pkgconfig
|
||||
, openssl
|
||||
, curl
|
||||
, Security
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
@@ -20,7 +22,9 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
buildInputs = [ openssl ];
|
||||
buildInputs = [ openssl ]
|
||||
++ stdenv.lib.optionals stdenv.isDarwin [ curl Security ];
|
||||
|
||||
|
||||
# Tests fetch external resources and build artifacts.
|
||||
# Disabled to work with sandboxing
|
||||
|
||||
@@ -36,10 +36,15 @@ in stdenv.mkDerivation rec {
|
||||
cp -r --no-preserve=all ${linenoise} ThirdParty/linenoise
|
||||
'';
|
||||
|
||||
# Avoid a glibc >= 2.25 deprecation warning that gets fatal via -Werror.
|
||||
postPatch = stdenv.lib.optionalString (!stdenv.isDarwin) ''
|
||||
# Avoid a glibc >= 2.25 deprecation warning that gets fatal via -Werror.
|
||||
sed 1i'#include <sys/sysmacros.h>' \
|
||||
-i Libraries/xcassets/Headers/xcassets/Slot/SystemVersion.h
|
||||
'' + stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
# Apple Open Sourced LZFSE, but not libcompression, and it isn't
|
||||
# part of an impure framework we can add
|
||||
substituteInPlace Libraries/libcar/Sources/Rendition.cpp \
|
||||
--replace "#if HAVE_LIBCOMPRESSION" "#if 0"
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
Reference in New Issue
Block a user