···164 passthru = { inherit plugins; };
165 });
16600000000167 # Tests that the plugins are being used. Terraform looks at the specific
168 # file pattern and if the plugin is not found it will try to download it
169 # from the Internet. With sandboxing enable this test will fail if that is
···164 passthru = { inherit plugins; };
165 });
166167+ terraform_0_15 = pluggable (generic {
168+ version = "0.15.0";
169+ sha256 = "0d7hai57x6qczacdnzzvs3766180n6grmq0a7rlw5jp3zgzp8bmr";
170+ vendorSha256 = "1l67kkrk8jw7v1rqpwj6n0l7lvmfgf1ir430j1n96459s1dzf0cn";
171+ patches = [ ./provider-path-0_15.patch ];
172+ passthru = { inherit plugins; };
173+ });
174+175 # Tests that the plugins are being used. Terraform looks at the specific
176 # file pattern and if the plugin is not found it will try to download it
177 # from the Internet. With sandboxing enable this test will fail if that is
···1+{ lib, stdenv, llvm_meta, fetch, cmake, libxml2, llvm, version, clang-tools-extra_src, python3, lld
2, fixDarwinDylibNames
3, enableManpages ? false
4}:
···8 pname = "clang";
9 inherit version;
1011+ src = fetch "clang" "1vd9rhhrd8ghdg111lac7w8by71y9l14yh5zxfijsm6lj4p4avp2";
12 inherit clang-tools-extra_src;
1314 unpackPhase = ''
···82 inherit llvm;
83 };
8485+ meta = llvm_meta // {
86+ homepage = "https://clang.llvm.org/";
87+ description = "A C language family frontend for LLVM";
88+ longDescription = ''
89+ The Clang project provides a language front-end and tooling
90+ infrastructure for languages in the C language family (C, C++, Objective
91+ C/C++, OpenCL, CUDA, and RenderScript) for the LLVM project.
92+ It aims to deliver amazingly fast compiles, extremely useful error and
93+ warning messages and to provide a platform for building great source
94+ level tools. The Clang Static Analyzer and clang-tidy are tools that
95+ automatically find bugs in your code, and are great examples of the sort
96+ of tools that can be built using the Clang frontend as a library to
97+ parse C/C++ code.
98+ '';
99 };
100 } // lib.optionalAttrs enableManpages {
101 pname = "clang-manpages";
···114115 doCheck = false;
116117+ meta = llvm_meta // {
118+ description = "man page for Clang ${version}";
119+ };
120 });
121in self
···1+{ lib, stdenv, llvm_meta, version, fetch, cmake, python3, llvm, libcxxabi }:
23let
4···11stdenv.mkDerivation rec {
12 pname = "compiler-rt";
13 inherit version;
14+ src = fetch pname "0d444qihq9jhqnfv003cr704v363va72zl6qaw2algj1c85cva45";
1516 nativeBuildInputs = [ cmake python3 llvm ];
17 buildInputs = lib.optional stdenv.hostPlatform.isDarwin libcxxabi;
···87 ln -s $out/lib/*/clang_rt.crtend_shared-*.o $out/lib/crtendS.o
88 '';
8990+ meta = llvm_meta // {
91+ homepage = "https://compiler-rt.llvm.org/";
92+ description = "Compiler runtime libraries";
93+ longDescription = ''
94+ The compiler-rt project provides highly tuned implementations of the
95+ low-level code generator support routines like "__fixunsdfdi" and other
96+ calls generated when a target doesn't have a short sequence of native
97+ instructions to implement a core IR operation. It also provides
98+ implementations of run-time libraries for dynamic testing tools such as
99+ AddressSanitizer, ThreadSanitizer, MemorySanitizer, and DataFlowSanitizer.
100+ '';
101+ # "All of the code in the compiler-rt project is dual licensed under the MIT
102+ # license and the UIUC License (a BSD-like license)":
103+ license = with lib.licenses; [ mit ncsa ];
104+ };
105}
···1+{ lib, stdenv, llvm_meta
2, fetch
3, cmake
4, python3
···32 pname = "llvm";
33 inherit version;
3435+ src = fetch pname "0l4b79gwfvxild974aigcq1yigypjsk2j5p59syhl6ksd744gp29";
36+ polly_src = fetch "polly" "1ixl9yj526n8iqh9ckyiah2vzravs9d1akybqq7rvy32n9vgr6hd";
3738 unpackPhase = ''
39 unpackFile $src
···73 --replace "PassBuilderCallbacksTest.cpp" ""
74 rm unittests/IR/PassBuilderCallbacksTest.cpp
75 '' + optionalString stdenv.hostPlatform.isMusl ''
76+ patch -p1 -i ${../../TLI-musl.patch}
77 substituteInPlace unittests/Support/CMakeLists.txt \
78 --replace "add_subdirectory(DynamicLibrary)" ""
79 rm unittests/Support/DynamicLibrary/DynamicLibraryTest.cpp
···160 checkTarget = "check-all";
161162 requiredSystemFeatures = [ "big-parallel" ];
163+ meta = llvm_meta // {
164+ homepage = "https://llvm.org/";
165+ description = "A collection of modular and reusable compiler and toolchain technologies";
166+ longDescription = ''
167+ The LLVM Project is a collection of modular and reusable compiler and
168+ toolchain technologies. Despite its name, LLVM has little to do with
169+ traditional virtual machines. The name "LLVM" itself is not an acronym; it
170+ is the full name of the project.
171+ LLVM began as a research project at the University of Illinois, with the
172+ goal of providing a modern, SSA-based compilation strategy capable of
173+ supporting both static and dynamic compilation of arbitrary programming
174+ languages. Since then, LLVM has grown to be an umbrella project consisting
175+ of a number of subprojects, many of which are being used in production by
176+ a wide variety of commercial and open source projects as well as being
177+ widely used in academic research. Code in the LLVM project is licensed
178+ under the "Apache 2.0 License with LLVM exceptions".
179+ '';
180 };
181} // lib.optionalAttrs enableManpages {
182 pname = "llvm-manpages";
···196197 doCheck = false;
198199+ meta = llvm_meta // {
200+ description = "man pages for LLVM ${version}";
201+ };
202})
···1{ lib
2, stdenv
3+, llvm_meta
4, fetch
5, cmake
6, llvm
···12 pname = "openmp";
13 inherit version;
1415+ src = fetch pname "0z8n1wanby6aq3i7d91mgk72hb33zfl5blayk0a22cs7l8i706zb";
1617 nativeBuildInputs = [ cmake perl ];
18 buildInputs = [ llvm ];
1920+ meta = llvm_meta // {
21+ homepage = "https://openmp.llvm.org/";
22+ description = "Support for the OpenMP language";
23+ longDescription = ''
24+ The OpenMP subproject of LLVM contains the components required to build an
25+ executable OpenMP program that are outside the compiler itself.
26+ Contains the code for the runtime library against which code compiled by
27+ "clang -fopenmp" must be linked before it can run and the library that
28+ supports offload to target devices.
29+ '';
30+ # "All of the code is dual licensed under the MIT license and the UIUC
31+ # License (a BSD-like license)":
32+ license = with lib.licenses; [ mit ncsa ];
33 };
34}
···89stdenv.mkDerivation rec {
10 pname = "timescaledb";
11- version = "2.1.1";
1213 nativeBuildInputs = [ cmake ];
14 buildInputs = [ postgresql openssl ];
···17 owner = "timescale";
18 repo = "timescaledb";
19 rev = "refs/tags/${version}";
20- sha256 = "0mjqy0d60l62vqqbrayj6270173501i6aqgnkczywrqyzqw8522l";
21 };
2223- # -DWARNINGS_AS_ERRORS=OFF to be removed once https://github.com/timescale/timescaledb/issues/2770 is fixed in upstream
24- cmakeFlags = [ "-DSEND_TELEMETRY_DEFAULT=OFF" "-DREGRESS_CHECKS=OFF" "-DWARNINGS_AS_ERRORS=OFF" ];
2526 # Fix the install phase which tries to install into the pgsql extension dir,
27 # and cannot be manually overridden. This is rather fragile but works OK.
28- patchPhase = ''
29 for x in CMakeLists.txt sql/CMakeLists.txt; do
30 substituteInPlace "$x" \
31 --replace 'DESTINATION "''${PG_SHAREDIR}/extension"' "DESTINATION \"$out/share/postgresql/extension\""
···40 meta = with lib; {
41 description = "Scales PostgreSQL for time-series data via automatic partitioning across time and space";
42 homepage = "https://www.timescale.com/";
043 maintainers = with maintainers; [ volth marsam ];
44 platforms = postgresql.meta.platforms;
45 license = licenses.asl20;
···89stdenv.mkDerivation rec {
10 pname = "timescaledb";
11+ version = "2.2.0";
1213 nativeBuildInputs = [ cmake ];
14 buildInputs = [ postgresql openssl ];
···17 owner = "timescale";
18 repo = "timescaledb";
19 rev = "refs/tags/${version}";
20+ sha256 = "0gl2jjk9k0s5h7s4yq1qb60lvcqvhp88rh1fhlpyx1vm1hifhhik";
21 };
2223+ cmakeFlags = [ "-DSEND_TELEMETRY_DEFAULT=OFF" "-DREGRESS_CHECKS=OFF" ]
24+ ++ lib.optionals stdenv.isDarwin [ "-DLINTER=OFF" ];
2526 # Fix the install phase which tries to install into the pgsql extension dir,
27 # and cannot be manually overridden. This is rather fragile but works OK.
28+ postPatch = ''
29 for x in CMakeLists.txt sql/CMakeLists.txt; do
30 substituteInPlace "$x" \
31 --replace 'DESTINATION "''${PG_SHAREDIR}/extension"' "DESTINATION \"$out/share/postgresql/extension\""
···40 meta = with lib; {
41 description = "Scales PostgreSQL for time-series data via automatic partitioning across time and space";
42 homepage = "https://www.timescale.com/";
43+ changelog = "https://github.com/timescale/timescaledb/raw/${version}/CHANGELOG.md";
44 maintainers = with maintainers; [ volth marsam ];
45 platforms = postgresql.meta.platforms;
46 license = licenses.asl20;
+2-2
pkgs/tools/admin/awscli/default.nix
···21in
22with py.pkgs; buildPythonApplication rec {
23 pname = "awscli";
24- version = "1.19.49"; # N.B: if you change this, change botocore and boto3 to a matching version too
2526 src = fetchPypi {
27 inherit pname version;
28- sha256 = "sha256-SiE3t26giRwNMJHGpeSzEO0nFjXS+bms4pRydOGWQyI=";
29 };
3031 # https://github.com/aws/aws-cli/issues/4837
···21in
22with py.pkgs; buildPythonApplication rec {
23 pname = "awscli";
24+ version = "1.19.52"; # N.B: if you change this, change botocore and boto3 to a matching version too
2526 src = fetchPypi {
27 inherit pname version;
28+ sha256 = "sha256-keKyuNeDC/90pn89KjoDTO8AGsmI8nqfDNSeGyM6iHQ=";
29 };
3031 # https://github.com/aws/aws-cli/issues/4837
···946947 zplugin = zinit; # Added 2021-01-30
94800949 /* If these are in the scope of all-packages.nix, they cause collisions
950 between mixed versions of qt. See:
951 https://github.com/NixOS/nixpkgs/pull/101369 */
···946947 zplugin = zinit; # Added 2021-01-30
948949+ posix_man_pages = man-pages-posix; # Added 2021-04-15
950+951 /* If these are in the scope of all-packages.nix, they cause collisions
952 between mixed versions of qt. See:
953 https://github.com/NixOS/nixpkgs/pull/101369 */