Merge remote-tracking branch 'origin/master' into haskell-updates
This commit is contained in:
commit
ba819ddadf
@ -180,18 +180,27 @@ See `node2nix` [docs](https://github.com/svanderburg/node2nix) for more info.
|
|||||||
|
|
||||||
#### Preparation {#javascript-yarn2nix-preparation}
|
#### Preparation {#javascript-yarn2nix-preparation}
|
||||||
|
|
||||||
You will need at least a yarn.lock and yarn.nix file.
|
You will need at least a `yarn.lock` file. If upstream does not have one you need to generate it and reference it in your package definition.
|
||||||
|
|
||||||
- Generate a yarn.lock in upstream if it is not already there.
|
If the downloaded files contain the `package.json` and `yarn.lock` files they can be used like this:
|
||||||
- `yarn2nix > yarn.nix` will generate the dependencies in a Nix format.
|
|
||||||
|
```nix
|
||||||
|
offlineCache = fetchYarnDeps {
|
||||||
|
yarnLock = src + "/yarn.lock";
|
||||||
|
sha256 = "....";
|
||||||
|
};
|
||||||
|
```
|
||||||
|
|
||||||
#### mkYarnPackage {#javascript-yarn2nix-mkYarnPackage}
|
#### mkYarnPackage {#javascript-yarn2nix-mkYarnPackage}
|
||||||
|
|
||||||
This will by default try to generate a binary. For package only generating static assets (Svelte, Vue, React...), you will need to explicitly override the build step with your instructions. It's important to use the `--offline` flag. For example if you script is `"build": "something"` in package.json use:
|
`mkYarnPackage` will by default try to generate a binary. For package only generating static assets (Svelte, Vue, React, WebPack, ...), you will need to explicitly override the build step with your instructions.
|
||||||
|
|
||||||
|
It's important to use the `--offline` flag. For example if you script is `"build": "something"` in `package.json` use:
|
||||||
|
|
||||||
```nix
|
```nix
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
yarn build --offline
|
export HOME=$(mktemp -d)
|
||||||
|
yarn --offline build
|
||||||
'';
|
'';
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -201,15 +210,27 @@ The dist phase is also trying to build a binary, the only way to override it is
|
|||||||
distPhase = "true";
|
distPhase = "true";
|
||||||
```
|
```
|
||||||
|
|
||||||
The configure phase can sometimes fail because it tries to be too clever. One common override is:
|
The configure phase can sometimes fail because it makes many assumptions which may not always apply. One common override is:
|
||||||
|
|
||||||
```nix
|
```nix
|
||||||
configurePhase = "ln -s $node_modules node_modules";
|
configurePhase = ''
|
||||||
|
ln -s $node_modules node_modules
|
||||||
|
'';
|
||||||
|
```
|
||||||
|
|
||||||
|
or if you need a writeable node_modules directory:
|
||||||
|
|
||||||
|
```nix
|
||||||
|
configurePhase = ''
|
||||||
|
cp -r $node_modules node_modules
|
||||||
|
chmod +w node_modules
|
||||||
|
'';
|
||||||
```
|
```
|
||||||
|
|
||||||
#### mkYarnModules {#javascript-yarn2nix-mkYarnModules}
|
#### mkYarnModules {#javascript-yarn2nix-mkYarnModules}
|
||||||
|
|
||||||
This will generate a derivation including the node_modules. If you have to build a derivation for an integrated web framework (rails, phoenix..), this is probably the easiest way. [Plausible](https://github.com/NixOS/nixpkgs/blob/master/pkgs/servers/web-apps/plausible/default.nix#L39) offers a good example of how to do this.
|
This will generate a derivation including the `node_modules` directory.
|
||||||
|
If you have to build a derivation for an integrated web framework (rails, phoenix..), this is probably the easiest way.
|
||||||
|
|
||||||
#### Overriding dependency behavior
|
#### Overriding dependency behavior
|
||||||
|
|
||||||
|
21
flake.nix
21
flake.nix
@ -20,13 +20,20 @@
|
|||||||
nixos = import ./nixos/lib { lib = final; };
|
nixos = import ./nixos/lib { lib = final; };
|
||||||
|
|
||||||
nixosSystem = args:
|
nixosSystem = args:
|
||||||
import ./nixos/lib/eval-config.nix (args // {
|
import ./nixos/lib/eval-config.nix (
|
||||||
modules = args.modules ++ [ {
|
args // {
|
||||||
system.nixos.versionSuffix =
|
modules = args.modules ++ [{
|
||||||
".${final.substring 0 8 (self.lastModifiedDate or self.lastModified or "19700101")}.${self.shortRev or "dirty"}";
|
system.nixos.versionSuffix =
|
||||||
system.nixos.revision = final.mkIf (self ? rev) self.rev;
|
".${final.substring 0 8 (self.lastModifiedDate or self.lastModified or "19700101")}.${self.shortRev or "dirty"}";
|
||||||
} ];
|
system.nixos.revision = final.mkIf (self ? rev) self.rev;
|
||||||
});
|
}];
|
||||||
|
} // lib.optionalAttrs (! args?system) {
|
||||||
|
# Allow system to be set modularly in nixpkgs.system.
|
||||||
|
# We set it to null, to remove the "legacy" entrypoint's
|
||||||
|
# non-hermetic default.
|
||||||
|
system = null;
|
||||||
|
}
|
||||||
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
checks.x86_64-linux.tarball = jobs.tarball;
|
checks.x86_64-linux.tarball = jobs.tarball;
|
||||||
|
@ -7291,6 +7291,13 @@
|
|||||||
githubId = 4158274;
|
githubId = 4158274;
|
||||||
name = "Michiel Leenaars";
|
name = "Michiel Leenaars";
|
||||||
};
|
};
|
||||||
|
logo = {
|
||||||
|
email = "logo4poop@protonmail.com";
|
||||||
|
matrix = "@logo4poop:matrix.org";
|
||||||
|
github = "logo4poop";
|
||||||
|
githubId = 24994565;
|
||||||
|
name = "Isaac Silverstein";
|
||||||
|
};
|
||||||
lom = {
|
lom = {
|
||||||
email = "legendofmiracles@protonmail.com";
|
email = "legendofmiracles@protonmail.com";
|
||||||
matrix = "@legendofmiracles:matrix.org";
|
matrix = "@legendofmiracles:matrix.org";
|
||||||
|
@ -9,7 +9,9 @@
|
|||||||
# expressions are ever made modular at the top level) can just use
|
# expressions are ever made modular at the top level) can just use
|
||||||
# types.submodule instead of using eval-config.nix
|
# types.submodule instead of using eval-config.nix
|
||||||
evalConfigArgs@
|
evalConfigArgs@
|
||||||
{ # !!! system can be set modularly, would be nice to remove
|
{ # !!! system can be set modularly, would be nice to remove,
|
||||||
|
# however, removing or changing this default is too much
|
||||||
|
# of a breaking change. To set it modularly, pass `null`.
|
||||||
system ? builtins.currentSystem
|
system ? builtins.currentSystem
|
||||||
, # !!! is this argument needed any more? The pkgs argument can
|
, # !!! is this argument needed any more? The pkgs argument can
|
||||||
# be set modularly anyway.
|
# be set modularly anyway.
|
||||||
@ -48,7 +50,7 @@ let
|
|||||||
# this. Since the latter defaults to the former, the former should
|
# this. Since the latter defaults to the former, the former should
|
||||||
# default to the argument. That way this new default could propagate all
|
# default to the argument. That way this new default could propagate all
|
||||||
# they way through, but has the last priority behind everything else.
|
# they way through, but has the last priority behind everything else.
|
||||||
nixpkgs.system = lib.mkDefault system;
|
nixpkgs.system = lib.mkIf (system != null) (lib.mkDefault system);
|
||||||
|
|
||||||
_module.args.pkgs = lib.mkIf (pkgs_ != null) (lib.mkForce pkgs_);
|
_module.args.pkgs = lib.mkIf (pkgs_ != null) (lib.mkForce pkgs_);
|
||||||
};
|
};
|
||||||
|
@ -244,6 +244,14 @@ in
|
|||||||
defaultText = literalExpression
|
defaultText = literalExpression
|
||||||
''(import "''${nixos}/../lib").lib.systems.examples.aarch64-multiplatform'';
|
''(import "''${nixos}/../lib").lib.systems.examples.aarch64-multiplatform'';
|
||||||
description = ''
|
description = ''
|
||||||
|
Systems with a recently generated <literal>hardware-configuration.nix</literal>
|
||||||
|
do not need to specify this option, unless cross-compiling, in which case
|
||||||
|
you should set <emphasis>only</emphasis> <option>nixpkgs.buildPlatform</option>.
|
||||||
|
|
||||||
|
If this is somehow not feasible, you may fall back to removing the
|
||||||
|
<option>nixpkgs.hostPlatform</option> line from the generated config and
|
||||||
|
use the old options.
|
||||||
|
|
||||||
Specifies the platform on which NixOS should be built. When
|
Specifies the platform on which NixOS should be built. When
|
||||||
<code>nixpkgs.crossSystem</code> is unset, it also specifies
|
<code>nixpkgs.crossSystem</code> is unset, it also specifies
|
||||||
the platform <emphasis>for</emphasis> which NixOS should be
|
the platform <emphasis>for</emphasis> which NixOS should be
|
||||||
@ -265,6 +273,10 @@ in
|
|||||||
default = null;
|
default = null;
|
||||||
example = { system = "aarch64-linux"; config = "aarch64-unknown-linux-gnu"; };
|
example = { system = "aarch64-linux"; config = "aarch64-unknown-linux-gnu"; };
|
||||||
description = ''
|
description = ''
|
||||||
|
Systems with a recently generated <literal>hardware-configuration.nix</literal>
|
||||||
|
may instead specify <emphasis>only</emphasis> <option>nixpkgs.buildPlatform</option>,
|
||||||
|
or fall back to removing the <option>nixpkgs.hostPlatform</option> line from the generated config.
|
||||||
|
|
||||||
Specifies the platform for which NixOS should be
|
Specifies the platform for which NixOS should be
|
||||||
built. Specify this only if it is different from
|
built. Specify this only if it is different from
|
||||||
<code>nixpkgs.localSystem</code>, the platform
|
<code>nixpkgs.localSystem</code>, the platform
|
||||||
@ -280,7 +292,29 @@ in
|
|||||||
system = mkOption {
|
system = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
example = "i686-linux";
|
example = "i686-linux";
|
||||||
|
default =
|
||||||
|
if opt.hostPlatform.isDefined
|
||||||
|
then
|
||||||
|
throw ''
|
||||||
|
Neither ${opt.system} nor any other option in nixpkgs.* is meant
|
||||||
|
to be read by modules and configurations.
|
||||||
|
Use pkgs.stdenv.hostPlatform instead.
|
||||||
|
''
|
||||||
|
else
|
||||||
|
throw ''
|
||||||
|
Neither ${opt.hostPlatform} nor or the legacy option ${opt.system} has been set.
|
||||||
|
You can set ${opt.hostPlatform} in hardware-configuration.nix by re-running
|
||||||
|
a recent version of nixos-generate-config.
|
||||||
|
The option ${opt.system} is still fully supported for NixOS 22.05 interoperability,
|
||||||
|
but will be deprecated in the future, so we recommend to set ${opt.hostPlatform}.
|
||||||
|
'';
|
||||||
|
defaultText = lib.literalMD ''
|
||||||
|
Traditionally `builtins.currentSystem`, but unset when invoking NixOS through `lib.nixosSystem`.
|
||||||
|
'';
|
||||||
description = ''
|
description = ''
|
||||||
|
This option does not need to be specified for NixOS configurations
|
||||||
|
with a recently generated <literal>hardware-configuration.nix</literal>.
|
||||||
|
|
||||||
Specifies the Nix platform type on which NixOS should be built.
|
Specifies the Nix platform type on which NixOS should be built.
|
||||||
It is better to specify <code>nixpkgs.localSystem</code> instead.
|
It is better to specify <code>nixpkgs.localSystem</code> instead.
|
||||||
<programlisting>
|
<programlisting>
|
||||||
|
@ -186,7 +186,7 @@ in
|
|||||||
|
|
||||||
dysnomia.properties = {
|
dysnomia.properties = {
|
||||||
hostname = config.networking.hostName;
|
hostname = config.networking.hostName;
|
||||||
inherit (config.nixpkgs.localSystem) system;
|
inherit (pkgs.stdenv.hostPlatform) system;
|
||||||
|
|
||||||
supportedTypes = [
|
supportedTypes = [
|
||||||
"echo"
|
"echo"
|
||||||
|
@ -132,7 +132,7 @@ let
|
|||||||
|
|
||||||
# If the host is 64-bit and the container is 32-bit, add a
|
# If the host is 64-bit and the container is 32-bit, add a
|
||||||
# --personality flag.
|
# --personality flag.
|
||||||
${optionalString (config.nixpkgs.localSystem.system == "x86_64-linux") ''
|
${optionalString (pkgs.stdenv.hostPlatform.system == "x86_64-linux") ''
|
||||||
if [ "$(< ''${SYSTEM_PATH:-/nix/var/nix/profiles/per-container/$INSTANCE/system}/system)" = i686-linux ]; then
|
if [ "$(< ''${SYSTEM_PATH:-/nix/var/nix/profiles/per-container/$INSTANCE/system}/system)" = i686-linux ]; then
|
||||||
extraFlags+=" --personality=x86"
|
extraFlags+=" --personality=x86"
|
||||||
fi
|
fi
|
||||||
|
@ -7,16 +7,16 @@
|
|||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "ncspot";
|
pname = "ncspot";
|
||||||
version = "0.10.0";
|
version = "0.10.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "hrkfdn";
|
owner = "hrkfdn";
|
||||||
repo = "ncspot";
|
repo = "ncspot";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-lZ7wFhXJ9I4IcHLLoyMTnq3MJDtUNcVdMHYLThuN7c8=";
|
sha256 = "sha256-KETLPBMBWGqmuczF5BG7WZ15szWqQHx7uKwDA2KyN/U=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "sha256-JLNB196GWpLyCrZ8fBH8+1RF1fa6PhdwFw6RW3fUARM=";
|
cargoSha256 = "sha256-95IFRFZySpyyF3k3RpGeV+sDXkg38kcHyPYxuxTfJJA=";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
|
@ -4,11 +4,11 @@
|
|||||||
|
|
||||||
mkDerivation rec {
|
mkDerivation rec {
|
||||||
pname = "okteta";
|
pname = "okteta";
|
||||||
version = "0.26.7";
|
version = "0.26.9";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://kde/stable/okteta/${version}/src/${pname}-${version}.tar.xz";
|
url = "mirror://kde/stable/okteta/${version}/src/${pname}-${version}.tar.xz";
|
||||||
sha256 = "sha256-8SO1VpDWz19UfppdtziiZymoLnvQLMAAIjjOTZ/VMOM=";
|
sha256 = "sha256-FoVMTU6Ug4IZrjEVpCujhf2lyH3GyYZayQ03dPjQX/s=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ qtscript extra-cmake-modules kdoctools ];
|
nativeBuildInputs = [ qtscript extra-cmake-modules kdoctools ];
|
||||||
|
@ -9,11 +9,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "hello";
|
pname = "hello";
|
||||||
version = "2.12";
|
version = "2.12.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnu/hello/hello-${finalAttrs.version}.tar.gz";
|
url = "mirror://gnu/hello/hello-${finalAttrs.version}.tar.gz";
|
||||||
sha256 = "1ayhp9v4m4rdhjmnl2bq3cibrbqqkgjbl3s7yk2nhlh8vj3ay16g";
|
sha256 = "sha256-jZkUKv2SV28wsM18tCqNxoCZmLxdYH2Idh9RLibH2yA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
@ -5,10 +5,10 @@ let
|
|||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "jotta-cli";
|
pname = "jotta-cli";
|
||||||
version = "0.14.58899";
|
version = "0.14.60923";
|
||||||
src = fetchzip {
|
src = fetchzip {
|
||||||
url = "https://repo.jotta.us/archives/linux/${arch}/jotta-cli-${version}_linux_${arch}.tar.gz";
|
url = "https://repo.jotta.us/archives/linux/${arch}/jotta-cli-${version}_linux_${arch}.tar.gz";
|
||||||
sha256 = "sha256-V4aShSMifXQl+qnCspm+P4q99Fn3N+us/sLzzTVV7mg=";
|
sha256 = "sha256-9R2eml0MpOZQn8SIs8gN1d1ddQdKmTsPBEWqHCvW8yo=";
|
||||||
stripRoot = false;
|
stripRoot = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -0,0 +1,76 @@
|
|||||||
|
{ stdenv
|
||||||
|
, lib
|
||||||
|
, fetchFromGitLab
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
|
, rustPlatform
|
||||||
|
, pkg-config
|
||||||
|
, glib
|
||||||
|
, gtk4
|
||||||
|
, gtksourceview5
|
||||||
|
, libadwaita
|
||||||
|
, gstreamer
|
||||||
|
, gst-plugins-base
|
||||||
|
, gst-plugins-bad
|
||||||
|
, libsecret
|
||||||
|
, desktop-file-utils
|
||||||
|
, appstream-glib
|
||||||
|
, openssl
|
||||||
|
, pipewire
|
||||||
|
, libshumate
|
||||||
|
, wrapGAppsHook4
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "fractal-next";
|
||||||
|
version = "unstable-2022-07-10";
|
||||||
|
|
||||||
|
src = fetchFromGitLab {
|
||||||
|
domain = "gitlab.gnome.org";
|
||||||
|
owner = "GNOME";
|
||||||
|
repo = "fractal";
|
||||||
|
rev = "837b56978474fe512469805844b8ee234587499a";
|
||||||
|
hash = "sha256-6op/+eiDra5EFRludpkQOucBXdPl5a/oQWPwwhJEx+M=";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||||
|
inherit src;
|
||||||
|
hash = "sha256-2mE26ES+fYSWdfMr8uTsX2VVGTNMDQ9MXEk5E/L95UI=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
glib
|
||||||
|
gtk4
|
||||||
|
meson
|
||||||
|
ninja
|
||||||
|
pkg-config
|
||||||
|
rustPlatform.bindgenHook
|
||||||
|
rustPlatform.cargoSetupHook
|
||||||
|
rustPlatform.rust.cargo
|
||||||
|
rustPlatform.rust.rustc
|
||||||
|
desktop-file-utils
|
||||||
|
appstream-glib
|
||||||
|
wrapGAppsHook4
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
glib
|
||||||
|
gstreamer
|
||||||
|
gst-plugins-base
|
||||||
|
gst-plugins-bad
|
||||||
|
gtk4
|
||||||
|
gtksourceview5
|
||||||
|
libadwaita
|
||||||
|
libsecret
|
||||||
|
openssl
|
||||||
|
pipewire
|
||||||
|
libshumate
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Matrix group messaging app (development version)";
|
||||||
|
homepage = "https://gitlab.gnome.org/GNOME/fractal";
|
||||||
|
license = licenses.gpl3Plus;
|
||||||
|
maintainers = teams.gnome.members ++ (with maintainers; [ anselmschueler ]);
|
||||||
|
};
|
||||||
|
}
|
@ -2,10 +2,10 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "getdp";
|
pname = "getdp";
|
||||||
version = "3.4.0";
|
version = "3.5.0";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://getdp.info/src/getdp-${version}-source.tgz";
|
url = "http://getdp.info/src/getdp-${version}-source.tgz";
|
||||||
sha256 = "sha256-d5YxJgtMf94PD6EHvIXpPBFPKC+skI/2v1K5Sad51hA=";
|
sha256 = "sha256-C/dsSe+puIQBpFfBL3qr2XWXrUnvYy0/uTCKqOpDe9w=";
|
||||||
};
|
};
|
||||||
|
|
||||||
inherit (petsc) mpiSupport;
|
inherit (petsc) mpiSupport;
|
||||||
|
@ -8,7 +8,7 @@ mkDerivation rec {
|
|||||||
owner = "tibirna";
|
owner = "tibirna";
|
||||||
repo = "qgit";
|
repo = "qgit";
|
||||||
rev = "${pname}-${version}";
|
rev = "${pname}-${version}";
|
||||||
sha256 = "1cwq43ywvii9zh4m31mgkgisfc9qhiixlz0zlv99skk9vb5v6r38";
|
sha256 = "sha256-xM0nroWs4WByc2O469zVeAlzKn6LLr+8WDlEdSjtRYI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ qtbase ];
|
buildInputs = [ qtbase ];
|
||||||
|
@ -47,13 +47,13 @@ let
|
|||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "mkvtoolnix";
|
pname = "mkvtoolnix";
|
||||||
version = "68.0.0";
|
version = "69.0.0";
|
||||||
|
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitLab {
|
||||||
owner = "mbunkus";
|
owner = "mbunkus";
|
||||||
repo = "mkvtoolnix";
|
repo = "mkvtoolnix";
|
||||||
rev = "release-${version}";
|
rev = "release-${version}";
|
||||||
sha256 = "0m09r0w98dja9y1yp1vq5hdh46lw0k60aa0xfkdy5zlva568cb7c";
|
sha256 = "sha256-sKm/TjlVFj6Vy6lfy3v7UJoEUXALZZSKO3zoIrYtwrc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -8,11 +8,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "osinfo-db";
|
pname = "osinfo-db";
|
||||||
version = "20220516";
|
version = "20220727";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://releases.pagure.org/libosinfo/${pname}-${version}.tar.xz";
|
url = "https://releases.pagure.org/libosinfo/${pname}-${version}.tar.xz";
|
||||||
sha256 = "sha256-1g9p2K/J3MU9dqL7aNVMJtH9w6giuVwYAd5Yw8Zs2m0=";
|
sha256 = "sha256-IpHlI07Ymagww28rQFb/XnYjX0uge1k0IfSGUpBjTV4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -115,7 +115,7 @@ let
|
|||||||
description = "Programming language targeting JavaScript, Flash, NekoVM, PHP, C++";
|
description = "Programming language targeting JavaScript, Flash, NekoVM, PHP, C++";
|
||||||
homepage = "https://haxe.org";
|
homepage = "https://haxe.org";
|
||||||
license = with licenses; [ gpl2Plus mit ]; # based on upstream opam file
|
license = with licenses; [ gpl2Plus mit ]; # based on upstream opam file
|
||||||
maintainers = [ maintainers.marcweber maintainers.locallycompact ];
|
maintainers = [ maintainers.marcweber maintainers.locallycompact maintainers.logo ];
|
||||||
platforms = platforms.linux ++ platforms.darwin;
|
platforms = platforms.linux ++ platforms.darwin;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -147,7 +147,7 @@ in {
|
|||||||
sha256 = "0rns6d28qzkbai6yyws08yzbyvxfn848nj0fsji7chdi0y7pzzj0";
|
sha256 = "0rns6d28qzkbai6yyws08yzbyvxfn848nj0fsji7chdi0y7pzzj0";
|
||||||
};
|
};
|
||||||
haxe_4_2 = generic {
|
haxe_4_2 = generic {
|
||||||
version = "4.2.1";
|
version = "4.2.5";
|
||||||
sha256 = "sha256-0j6M21dh8DB1gC/bPYNJrVuDbJyqQbP+61ItO5RBUcA=";
|
sha256 = "sha256-Y0gx6uOQX4OZgg8nK4GJxRR1rKh0S2JUjZQFVQ4cfTs=";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -9,13 +9,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "micropython";
|
pname = "micropython";
|
||||||
version = "1.19";
|
version = "1.19.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "micropython";
|
owner = "micropython";
|
||||||
repo = "micropython";
|
repo = "micropython";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-M3cKNuRKOcB1lF9M1rDOpp3sPdx/I60ooLtOYmBWe7c=";
|
sha256 = "sha256-BoX3Z3Zr/AQqkgRrq+UVgdoDqNESDTNsY9AtrElpzfA=";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "libsurvive";
|
pname = "libsurvive";
|
||||||
version = "1.0";
|
version = "1.01";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "cntools";
|
owner = "cntools";
|
||||||
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
|||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
# Fixes 'Unknown CMake command "cnkalman_generate_code"'
|
# Fixes 'Unknown CMake command "cnkalman_generate_code"'
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
sha256 = "sha256-I8Wx9avfMyDic+Bk/1IjzZiiHj+l3XqpRwxYbWlsG/Q=";
|
sha256 = "sha256-NcxdTKra+YkLt/iu9+1QCeQZLV3/qlhma2Ns/+ZYVsk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake pkg-config ];
|
nativeBuildInputs = [ cmake pkg-config ];
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub, fixDarwinDylibNames, oracle-instantclient, libaio }:
|
{ lib, stdenv, fetchFromGitHub, fixDarwinDylibNames, oracle-instantclient, libaio }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "4.3.0";
|
version = "4.4.1";
|
||||||
libPath = lib.makeLibraryPath [ oracle-instantclient.lib ];
|
libPath = lib.makeLibraryPath [ oracle-instantclient.lib ];
|
||||||
|
|
||||||
in stdenv.mkDerivation {
|
in stdenv.mkDerivation {
|
||||||
@ -13,7 +13,7 @@ in stdenv.mkDerivation {
|
|||||||
owner = "oracle";
|
owner = "oracle";
|
||||||
repo = "odpi";
|
repo = "odpi";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-oL2yehjP8JJxU19VY4e/ueh2xjo1yp4X7FGslqCXO8A=";
|
sha256 = "sha256-tc6N19jSLkuOvTe5f/pBAd1FvpnOjsa4V9CgygUvpZo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = lib.optional stdenv.isDarwin fixDarwinDylibNames;
|
nativeBuildInputs = lib.optional stdenv.isDarwin fixDarwinDylibNames;
|
||||||
|
@ -9,13 +9,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "qtutilities";
|
pname = "qtutilities";
|
||||||
version = "6.6.0";
|
version = "6.6.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Martchus";
|
owner = "Martchus";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-ArPTWUQV9h+AK/m4oUIXsGWFO6Fj9IIOKSXCdWGztNM=";
|
sha256 = "sha256-zt/d6V1/6Kqh0ZdJX3dLkj36NHlvlmFSxPPqcNyC6ZM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ qtbase cpp-utilities ];
|
buildInputs = [ qtbase cpp-utilities ];
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
buildPecl {
|
buildPecl {
|
||||||
pname = "event";
|
pname = "event";
|
||||||
|
|
||||||
version = "3.0.6";
|
version = "3.0.8";
|
||||||
sha256 = "sha256-BN43wydPQBCVla29YoPqKSVihSZCkLAIgDZb+CNQecw=";
|
sha256 = "sha256-4+ke3T3BXglpuSVMw2Jq4Hgl45vybWG0mTX2b2A9e2s=";
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--with-event-libevent-dir=${libevent.dev}"
|
"--with-event-libevent-dir=${libevent.dev}"
|
||||||
|
@ -14,8 +14,8 @@
|
|||||||
buildPecl {
|
buildPecl {
|
||||||
pname = "mongodb";
|
pname = "mongodb";
|
||||||
|
|
||||||
version = "1.13.0";
|
version = "1.14.0";
|
||||||
sha256 = "sha256-IoZbYdJkyQyeqoXZTy9fV+VkFAyth8jCYB+jP4Dv4Ls=";
|
sha256 = "sha256-VXdeaSB6f5xDxiiDIg87xgDT4/Zjr1AAC+cK0+5RgY4=";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
@ -3,8 +3,8 @@
|
|||||||
buildPecl {
|
buildPecl {
|
||||||
pname = "pdo_sqlsrv";
|
pname = "pdo_sqlsrv";
|
||||||
|
|
||||||
version = "5.10.0";
|
version = "5.10.1";
|
||||||
sha256 = "sha256-BEa7i/8egvz9mT69dl0dxWcVo+dURT9Dzo6f6EdlESo=";
|
sha256 = "sha256-x4VBlqI2vINQijRvjG7x35mbwh7rvYOL2wUTIV4GKK0=";
|
||||||
|
|
||||||
internalDeps = [ php.extensions.pdo ];
|
internalDeps = [ php.extensions.pdo ];
|
||||||
|
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
{ mkDerivation, fetchurl, makeWrapper, lib, php }:
|
{ mkDerivation, fetchurl, makeWrapper, lib, php }:
|
||||||
let
|
let
|
||||||
pname = "phing";
|
pname = "phing";
|
||||||
version = "2.17.2";
|
version = "2.17.4";
|
||||||
in
|
in
|
||||||
mkDerivation {
|
mkDerivation {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://www.phing.info/get/phing-${version}.phar";
|
url = "https://www.phing.info/get/phing-${version}.phar";
|
||||||
sha256 = "sha256-KDqJdHIqgtar6ofNG4ENRlpRg9XYFeL5YS7Rclh1+PQ=";
|
sha256 = "sha256-3QZsl5QJkFX5Z4RovMtw2ELCp8Zl4xiZsIBikakJ474=";
|
||||||
};
|
};
|
||||||
|
|
||||||
dontUnpack = true;
|
dontUnpack = true;
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
{ mkDerivation, fetchurl, makeWrapper, lib, php }:
|
{ mkDerivation, fetchurl, makeWrapper, lib, php }:
|
||||||
let
|
let
|
||||||
pname = "php-cs-fixer";
|
pname = "php-cs-fixer";
|
||||||
version = "3.8.0";
|
version = "3.9.5";
|
||||||
in
|
in
|
||||||
mkDerivation {
|
mkDerivation {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v${version}/php-cs-fixer.phar";
|
url = "https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v${version}/php-cs-fixer.phar";
|
||||||
sha256 = "sha256-kOdJ2xuS095xVdPxoz4q/XM0BpyJEy6V/CtkuTN/Chk=";
|
sha256 = "sha256-uD8N/fJAb8lvsFvP/zuw9jwV8ng//xWE+oNuOZ553UU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
dontUnpack = true;
|
dontUnpack = true;
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
{ mkDerivation, fetchurl, makeWrapper, lib, php }:
|
{ mkDerivation, fetchurl, makeWrapper, lib, php }:
|
||||||
let
|
let
|
||||||
pname = "phpstan";
|
pname = "phpstan";
|
||||||
version = "1.5.4";
|
version = "1.8.2";
|
||||||
in
|
in
|
||||||
mkDerivation {
|
mkDerivation {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/phpstan/phpstan/releases/download/${version}/phpstan.phar";
|
url = "https://github.com/phpstan/phpstan/releases/download/${version}/phpstan.phar";
|
||||||
sha256 = "sha256-6dXYrDpQ3E+z8mcZof7GSXOrUMoceuPTHO21Z8l4Wyw=";
|
sha256 = "sha256-NnbEN9dhPUBtgEiKj5mBtW9RnTE9jmx/ZqRdqmuyIog=";
|
||||||
};
|
};
|
||||||
|
|
||||||
dontUnpack = true;
|
dontUnpack = true;
|
||||||
|
@ -3,8 +3,8 @@
|
|||||||
buildPecl {
|
buildPecl {
|
||||||
pname = "protobuf";
|
pname = "protobuf";
|
||||||
|
|
||||||
version = "3.19.4";
|
version = "3.21.4";
|
||||||
sha256 = "sha256-ijo+UZz+Hh3F8FUJmcUIbKBLkv4t4CWIrbRUfUp7Zbo=";
|
sha256 = "sha256-vhfoUu63KhndfQTiITtTnaqFVF9OWMCaLf/9PUioKkQ=";
|
||||||
|
|
||||||
buildInputs = [ pcre2 ];
|
buildInputs = [ pcre2 ];
|
||||||
|
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
{ mkDerivation, fetchurl, makeWrapper, lib, php }:
|
{ mkDerivation, fetchurl, makeWrapper, lib, php }:
|
||||||
let
|
let
|
||||||
pname = "psalm";
|
pname = "psalm";
|
||||||
version = "4.15.0";
|
version = "4.25.0";
|
||||||
in
|
in
|
||||||
mkDerivation {
|
mkDerivation {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/vimeo/psalm/releases/download/v${version}/psalm.phar";
|
url = "https://github.com/vimeo/psalm/releases/download/v${version}/psalm.phar";
|
||||||
sha256 = "jvUNnA5OTmw3h1O1Ur7pUojgU5IRgwq2U/JF/ByO0EA=";
|
sha256 = "sha256-bEv9YzBycN+fs3DeAU/QpuOvsmUFLgrltGEe2KuUM0c=";
|
||||||
};
|
};
|
||||||
|
|
||||||
dontUnpack = true;
|
dontUnpack = true;
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
{ mkDerivation, fetchurl, makeWrapper, lib, php }:
|
{ mkDerivation, fetchurl, makeWrapper, lib, php }:
|
||||||
let
|
let
|
||||||
pname = "psysh";
|
pname = "psysh";
|
||||||
version = "0.11.2";
|
version = "0.11.8";
|
||||||
in
|
in
|
||||||
mkDerivation {
|
mkDerivation {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/bobthecow/psysh/releases/download/v${version}/psysh-v${version}.tar.gz";
|
url = "https://github.com/bobthecow/psysh/releases/download/v${version}/psysh-v${version}.tar.gz";
|
||||||
sha256 = "sha256-u7VTlZw9k7VDWKGK/8fzFw0bjNu6DMGsoQnDedHgCWg=";
|
sha256 = "sha256-VK1e3qQGaN6Kc/5dUaGwrHAqk9yiJCwbW29x6i6nHQ4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
dontUnpack = true;
|
dontUnpack = true;
|
||||||
|
@ -3,8 +3,8 @@
|
|||||||
buildPecl {
|
buildPecl {
|
||||||
pname = "rdkafka";
|
pname = "rdkafka";
|
||||||
|
|
||||||
version = "6.0.1";
|
version = "6.0.3";
|
||||||
sha256 = "sha256-ikq+cB5ZPRBCwhB0YQT0sEsVrJjbYzGEju2RrK388ZI=";
|
sha256 = "sha256-Euqrl21JaX4x8WOLR4ietexhrbdYcIlBESsVf47H3Ug=";
|
||||||
|
|
||||||
buildInputs = [ rdkafka pcre2 ];
|
buildInputs = [ rdkafka pcre2 ];
|
||||||
|
|
||||||
|
@ -3,8 +3,8 @@
|
|||||||
buildPecl {
|
buildPecl {
|
||||||
pname = "sqlsrv";
|
pname = "sqlsrv";
|
||||||
|
|
||||||
version = "5.10.0";
|
version = "5.10.1";
|
||||||
sha256 = "sha256-drPwg6Go8QNYHCG6OkbWyiV76uZyjNFYpkpGq1miJrQ=";
|
sha256 = "sha256-XNrttNiihjQ+azuZmS2fy0So+2ndAqpde8IOsupeWdI=";
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
unixODBC
|
unixODBC
|
||||||
|
@ -3,8 +3,8 @@
|
|||||||
buildPecl {
|
buildPecl {
|
||||||
pname = "swoole";
|
pname = "swoole";
|
||||||
|
|
||||||
version = "4.8.8";
|
version = "4.8.11";
|
||||||
sha256 = "sha256-SnhDRC7/a7BTHn87c6YCz/R8jI6aES1ibSD6YAl6R+I=";
|
sha256 = "sha256-MH3deQniTI7df2UNfK7v1qkP5JxyGw3j9adAeZBDD2c=";
|
||||||
|
|
||||||
buildInputs = [ pcre2 ] ++ lib.optionals (!stdenv.isDarwin) [ valgrind ];
|
buildInputs = [ pcre2 ] ++ lib.optionals (!stdenv.isDarwin) [ valgrind ];
|
||||||
|
|
||||||
|
@ -3,8 +3,8 @@
|
|||||||
buildPecl {
|
buildPecl {
|
||||||
pname = "xdebug";
|
pname = "xdebug";
|
||||||
|
|
||||||
version = "3.1.4";
|
version = "3.1.5";
|
||||||
sha256 = "sha256-QZWSb59sToAv90m7LKhaxQY2cZpy5TieNy4171I1Bfk=";
|
sha256 = "sha256-VfbvOBJF2gebL8XOHPvLeWEZfQwOBPnZd2E8+aqWmnk=";
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
checkTarget = "test";
|
checkTarget = "test";
|
||||||
|
@ -13,14 +13,14 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "google-cloud-secret-manager";
|
pname = "google-cloud-secret-manager";
|
||||||
version = "2.12.0";
|
version = "2.12.1";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-vlMh7Ww7ZPHWVUJMDqRO58bmn4nfTi3Gj/sBReHOvtQ=";
|
hash = "sha256-LFEGqNi2KsAdoX2PEyQ8h0t0D3yDBtFMnanjhMwu+Lk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fetchpatch
|
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, substituteAll
|
, substituteAll
|
||||||
@ -28,7 +27,7 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
pname = "psycopg";
|
pname = "psycopg";
|
||||||
version = "3.0.15";
|
version = "3.0.16";
|
||||||
in
|
in
|
||||||
|
|
||||||
buildPythonPackage {
|
buildPythonPackage {
|
||||||
@ -41,7 +40,7 @@ buildPythonPackage {
|
|||||||
owner = "psycopg";
|
owner = "psycopg";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-1Wtp0wDuS6dxa1+u6DXu9fDLU7OtgsCUdbdcO5nhkxU=";
|
hash = "sha256-jKhpmCcDi7FyMSpn51eSukFvmu3yacNovmRYG9jnu3g=";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [
|
outputs = [
|
||||||
@ -62,24 +61,6 @@ buildPythonPackage {
|
|||||||
src = ./libpq.patch;
|
src = ./libpq.patch;
|
||||||
libpq = "${postgresql.lib}/lib/libpq.so";
|
libpq = "${postgresql.lib}/lib/libpq.so";
|
||||||
})
|
})
|
||||||
|
|
||||||
# Work around docs build issues
|
|
||||||
# https://github.com/psycopg/psycopg/issues/337
|
|
||||||
(fetchpatch {
|
|
||||||
name = "sphinx-5.0-compat.patch";
|
|
||||||
url = "https://github.com/psycopg/psycopg/commit/ebff3a8392f002100d1e71d3deb94f27fb8cc0cf.patch";
|
|
||||||
hash = "sha256-QP9I6/xVJyWj5MQqWqxtmdBlesNUOwpYSMuzogJSnos=";
|
|
||||||
})
|
|
||||||
(fetchpatch {
|
|
||||||
name = "libpq-sqml-env-var.patch";
|
|
||||||
url = "https://github.com/psycopg/psycopg/commit/adf9cbdc1020abf87ae602fe0eb493c294459a93.patch";
|
|
||||||
hash = "sha256-HJ2Cx7Vg7PSitDEOqCUF7ehNU8aI+iFT886dk2wHsAI=";
|
|
||||||
})
|
|
||||||
(fetchpatch {
|
|
||||||
name = "avoid-dnspython-import-in-docs.patch";
|
|
||||||
url = "https://github.com/psycopg/psycopg/commit/3058421503b3fcbcf06382d558aac7b9ca2eaaec.patch";
|
|
||||||
hash = "sha256-D4vj5STafkQ34HWUyKZ3A9w9bY8holifPn3lsBjfVZA=";
|
|
||||||
})
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# only move to sourceRoot after patching, makes patching easier
|
# only move to sourceRoot after patching, makes patching easier
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
pname = "sphinx-autodoc-typehints";
|
pname = "sphinx-autodoc-typehints";
|
||||||
version = "1.18.3";
|
version = "1.19.1";
|
||||||
in
|
in
|
||||||
|
|
||||||
buildPythonPackage {
|
buildPythonPackage {
|
||||||
@ -20,7 +20,7 @@ buildPythonPackage {
|
|||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
pname = "sphinx_autodoc_typehints";
|
pname = "sphinx_autodoc_typehints";
|
||||||
inherit version;
|
inherit version;
|
||||||
hash = "sha256-wE2PjXDpiJYOJbIGrzmpDfhOfiwIW7JOEjvDaEAhsxM=";
|
hash = "sha256-bIQdtV4Om+BIP/OWKiFStg55MG9CiNjE5+hqyESGpeo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -5,12 +5,12 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "types-redis";
|
pname = "types-redis";
|
||||||
version = "4.3.4";
|
version = "4.3.13";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "sha256-0LkUPeiuDW42mfJG9Us7IgS+WTYy/A1JyilAhnw+JZE=";
|
sha256 = "sha256-uDNKlqL0MVIb+nIgWzQxKazcWmRv/PswTYChzQ3v9Ug=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Module doesn't have tests
|
# Module doesn't have tests
|
||||||
|
@ -6,12 +6,12 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "types-requests";
|
pname = "types-requests";
|
||||||
version = "2.28.5";
|
version = "2.28.6";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "sha256-rGGL/vyzdC6vl8lh4T6eWiJuVF7aSj2+KTuJjUCTOtE=";
|
sha256 = "sha256-zzODu9eTlL8FGgqSAtaDH6li8Yb5I8F498BZ40JL0A4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -5,12 +5,12 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "types-urllib3";
|
pname = "types-urllib3";
|
||||||
version = "1.26.17";
|
version = "1.26.19";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-c/0nRSTD/HzYzZzrDLZ+2ZtF+csoMQE+RtUMFFEESAA=";
|
hash = "sha256-RbMHvbc9LqwML7E4bal+UcmufxR07zX2ECTDCEtr83E=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Module doesn't have tests
|
# Module doesn't have tests
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
{ buildBazelPackage
|
{ buildBazelPackage
|
||||||
|
, bazel_5
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, git
|
, git
|
||||||
, go
|
, go
|
||||||
@ -10,28 +11,49 @@ let
|
|||||||
patches = [
|
patches = [
|
||||||
./use-go-in-path.patch
|
./use-go-in-path.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# Patch the protoc alias so that it always builds from source.
|
||||||
|
rulesProto = fetchFromGitHub {
|
||||||
|
owner = "bazelbuild";
|
||||||
|
repo = "rules_proto";
|
||||||
|
rev = "4.0.0-3.19.2";
|
||||||
|
sha256 = "sha256-wdmp+Tmf63PPr7G4X5F7rDas45WEETU3eKb47PFVI6o=";
|
||||||
|
postFetch = ''
|
||||||
|
sed -i 's|name = "protoc"|name = "_protoc_original"|' $out/proto/private/BUILD.release
|
||||||
|
cat <<EOF >>$out/proto/private/BUILD.release
|
||||||
|
alias(name = "protoc", actual = "@com_github_protocolbuffers_protobuf//:protoc", visibility = ["//visibility:public"])
|
||||||
|
EOF
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
in
|
in
|
||||||
buildBazelPackage rec {
|
buildBazelPackage rec {
|
||||||
pname = "bazel-watcher";
|
pname = "bazel-watcher";
|
||||||
version = "0.14.0";
|
version = "0.17.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "bazelbuild";
|
owner = "bazelbuild";
|
||||||
repo = "bazel-watcher";
|
repo = "bazel-watcher";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0gigl1lg8sb4bj5crvj54329ws4yirldbncs15f96db6vhp0ig7r";
|
sha256 = "sha256-aK18Q2nYxYajk9f/EEmtV7YJ8cYqbamR7vh3BTgu53Q=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ go git python3 ];
|
nativeBuildInputs = [ go git python3 ];
|
||||||
removeRulesCC = false;
|
removeRulesCC = false;
|
||||||
|
|
||||||
|
bazel = bazel_5;
|
||||||
|
bazelFlags = [ "--override_repository=rules_proto=${rulesProto}" ];
|
||||||
|
bazelBuildFlags = lib.optionals stdenv.cc.isClang [ "--cxxopt=-x" "--cxxopt=c++" "--host_cxxopt=-x" "--host_cxxopt=c++" ];
|
||||||
bazelTarget = "//ibazel";
|
bazelTarget = "//ibazel";
|
||||||
|
|
||||||
|
fetchConfigured = false; # we want to fetch all dependencies, regardless of the current system
|
||||||
fetchAttrs = {
|
fetchAttrs = {
|
||||||
inherit patches;
|
inherit patches;
|
||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
patchShebangs .
|
patchShebangs .
|
||||||
|
|
||||||
|
echo ${bazel_5.version} > .bazelversion
|
||||||
'';
|
'';
|
||||||
|
|
||||||
preInstall = ''
|
preInstall = ''
|
||||||
@ -54,9 +76,12 @@ buildBazelPackage rec {
|
|||||||
# should be equivalent.
|
# should be equivalent.
|
||||||
rm -rf $bazelOut/external/{bazel_gazelle_go_repository_tools,\@bazel_gazelle_go_repository_tools.marker}
|
rm -rf $bazelOut/external/{bazel_gazelle_go_repository_tools,\@bazel_gazelle_go_repository_tools.marker}
|
||||||
sed -e '/^FILE:@bazel_gazelle_go_repository_tools.*/d' -i $bazelOut/external/\@*.marker
|
sed -e '/^FILE:@bazel_gazelle_go_repository_tools.*/d' -i $bazelOut/external/\@*.marker
|
||||||
|
|
||||||
|
# remove com_google_protobuf because it had files with different permissions on linux and darwin
|
||||||
|
rm -rf $bazelOut/external/com_google_protobuf
|
||||||
'';
|
'';
|
||||||
|
|
||||||
sha256 = "1j175z3d4fbi4pl35py7yjq7ywrvwin6id131jv32hx0ck4g1m46";
|
sha256 = "sha256-R+Hc9ldYcKgAXETKr2+Hk7IrjJ93WkrjyJ1SQRoM9V4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildAttrs = {
|
buildAttrs = {
|
||||||
@ -66,10 +91,11 @@ buildBazelPackage rec {
|
|||||||
patchShebangs .
|
patchShebangs .
|
||||||
|
|
||||||
substituteInPlace ibazel/BUILD --replace '{STABLE_GIT_VERSION}' ${version}
|
substituteInPlace ibazel/BUILD --replace '{STABLE_GIT_VERSION}' ${version}
|
||||||
|
echo ${bazel_5.version} > .bazelversion
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
install -Dm755 bazel-bin/ibazel/*_pure_stripped/ibazel $out/bin/ibazel
|
install -Dm755 bazel-bin/ibazel/ibazel_/ibazel $out/bin/ibazel
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -78,8 +104,7 @@ buildBazelPackage rec {
|
|||||||
description = "Tools for building Bazel targets when source files change";
|
description = "Tools for building Bazel targets when source files change";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ kalbasit ];
|
maintainers = with maintainers; [ kalbasit ];
|
||||||
|
mainProgram = "ibazel";
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
# broken on darwin, see https://github.com/NixOS/nixpkgs/issues/105573
|
|
||||||
broken = stdenv.isDarwin;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -6,7 +6,7 @@ index 51273b6..fcf9ffb 100644
|
|||||||
|
|
||||||
go_rules_dependencies()
|
go_rules_dependencies()
|
||||||
|
|
||||||
-go_register_toolchains()
|
-go_register_toolchains(version = "1.17.6")
|
||||||
+go_register_toolchains(go_version = "host")
|
+go_register_toolchains(go_version = "host")
|
||||||
|
|
||||||
load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies", "go_repository")
|
load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies", "go_repository")
|
||||||
|
@ -110,7 +110,9 @@ let
|
|||||||
# and libraries path.
|
# and libraries path.
|
||||||
# We prefetch it, patch it, and override it in a global bazelrc.
|
# We prefetch it, patch it, and override it in a global bazelrc.
|
||||||
system = if stdenv.hostPlatform.isDarwin then "darwin" else "linux";
|
system = if stdenv.hostPlatform.isDarwin then "darwin" else "linux";
|
||||||
arch = stdenv.hostPlatform.parsed.cpu.name;
|
|
||||||
|
# on aarch64 Darwin, `uname -m` returns "arm64"
|
||||||
|
arch = with stdenv.hostPlatform; if isDarwin && isAarch64 then "arm64" else parsed.cpu.name;
|
||||||
|
|
||||||
remote_java_tools = stdenv.mkDerivation {
|
remote_java_tools = stdenv.mkDerivation {
|
||||||
name = "remote_java_tools_${system}";
|
name = "remote_java_tools_${system}";
|
||||||
|
@ -135,7 +135,9 @@ let
|
|||||||
# and libraries path.
|
# and libraries path.
|
||||||
# We prefetch it, patch it, and override it in a global bazelrc.
|
# We prefetch it, patch it, and override it in a global bazelrc.
|
||||||
system = if stdenv.hostPlatform.isDarwin then "darwin" else "linux";
|
system = if stdenv.hostPlatform.isDarwin then "darwin" else "linux";
|
||||||
arch = stdenv.hostPlatform.parsed.cpu.name;
|
|
||||||
|
# on aarch64 Darwin, `uname -m` returns "arm64"
|
||||||
|
arch = with stdenv.hostPlatform; if isDarwin && isAarch64 then "arm64" else parsed.cpu.name;
|
||||||
|
|
||||||
remote_java_tools = stdenv.mkDerivation {
|
remote_java_tools = stdenv.mkDerivation {
|
||||||
name = "remote_java_tools_${system}";
|
name = "remote_java_tools_${system}";
|
||||||
|
@ -126,7 +126,9 @@ let
|
|||||||
platforms = lib.platforms.linux ++ lib.platforms.darwin;
|
platforms = lib.platforms.linux ++ lib.platforms.darwin;
|
||||||
|
|
||||||
system = if stdenv.hostPlatform.isDarwin then "darwin" else "linux";
|
system = if stdenv.hostPlatform.isDarwin then "darwin" else "linux";
|
||||||
arch = stdenv.hostPlatform.parsed.cpu.name;
|
|
||||||
|
# on aarch64 Darwin, `uname -m` returns "arm64"
|
||||||
|
arch = with stdenv.hostPlatform; if isDarwin && isAarch64 then "arm64" else parsed.cpu.name;
|
||||||
|
|
||||||
bazelRC = writeTextFile {
|
bazelRC = writeTextFile {
|
||||||
name = "bazel-rc";
|
name = "bazel-rc";
|
||||||
|
@ -2,16 +2,16 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "pack";
|
pname = "pack";
|
||||||
version = "0.26.0";
|
version = "0.27.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "buildpacks";
|
owner = "buildpacks";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-P6rfYrjk7MWVvNowaIKc0PzCzAyHRK+qw2BDe56CPp8=";
|
sha256 = "sha256-b1lqgY6pu4yt3yY2UupG7PQUkgotK0VDffCW/0thxoo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-ygHE52zYU/Zx/bSHMeTTFZyBvWrIKeuO0bciB4E0dHE=";
|
vendorSha256 = "sha256-JqSk4w0chtWNYDQXo8oh5spAxor2kixo3fZcpV4LJ+8=";
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "lttng-tools";
|
pname = "lttng-tools";
|
||||||
version = "2.13.4";
|
version = "2.13.7";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://lttng.org/files/lttng-tools/${pname}-${version}.tar.bz2";
|
url = "https://lttng.org/files/lttng-tools/${pname}-${version}.tar.bz2";
|
||||||
sha256 = "sha256-Vl8xAkEKU9SE9Mj/UXl48dxZ9n+dFvhy9DV/PKEiAPY=";
|
sha256 = "sha256-0XoC6PF4p880A+PJ7fuQrToWKOIKoLUTFAiuR/ci8I0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
@ -2,16 +2,16 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "yq-go";
|
pname = "yq-go";
|
||||||
version = "4.26.1";
|
version = "4.27.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "mikefarah";
|
owner = "mikefarah";
|
||||||
repo = "yq";
|
repo = "yq";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-5EDFttaUgef2/EQUSORY17UjbErCjVDdy3Dls1mMYLQ=";
|
sha256 = "sha256-42rcptmZrMfUTN4kjnbulwosLOUNf0qw85eqmpD31gw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-w9TaCYxu3a8R3oCfyNyioe2W9PrejhTj/3eaBeg7UAw=";
|
vendorSha256 = "sha256-fHqTgFsUKaDlWU9PGYqAFknzgq7tYzSTqNb+edwWZJg=";
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
||||||
|
@ -73,7 +73,7 @@ mkDerivation {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildPhase = let
|
buildPhase = let
|
||||||
initialPath = import ../../stdenv/common-path.nix { inherit pkgs; };
|
initialPath = import ../../stdenv/generic/common-path.nix { inherit pkgs; };
|
||||||
in ''
|
in ''
|
||||||
set -x
|
set -x
|
||||||
mkdir -p "$out/dev-envs" "$out/nix-support" "$out/bin"
|
mkdir -p "$out/dev-envs" "$out/nix-support" "$out/bin"
|
||||||
|
@ -16,11 +16,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "nsd";
|
pname = "nsd";
|
||||||
version = "4.4.0";
|
version = "4.6.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://www.nlnetlabs.nl/downloads/${pname}/${pname}-${version}.tar.gz";
|
url = "https://www.nlnetlabs.nl/downloads/${pname}/${pname}-${version}.tar.gz";
|
||||||
sha256 = "sha256-z81v3Zk0TKWn73wpQMJBvO9HH8MlK6PcvUxX4GOOiDY=";
|
sha256 = "sha256-CQYtm4Pfzd5OTlPsNhVJbWjCgh2DgdDUZOvqMaWXXIE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
prePatch = ''
|
prePatch = ''
|
||||||
|
@ -5,11 +5,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "pdns-recursor";
|
pname = "pdns-recursor";
|
||||||
version = "4.7.0";
|
version = "4.7.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://downloads.powerdns.com/releases/pdns-recursor-${version}.tar.bz2";
|
url = "https://downloads.powerdns.com/releases/pdns-recursor-${version}.tar.bz2";
|
||||||
sha256 = "1329ycxavhkx963q0c6rqyzlg0689v5rrmjlydiw6px324djm1z4";
|
sha256 = "sha256-0vlFc6bw5joQNMorMBwn6/LhMAplW6ZpzFAtXqjW7Gg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
@ -2,18 +2,18 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "dolt";
|
pname = "dolt";
|
||||||
version = "0.39.2";
|
version = "0.40.15";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "dolthub";
|
owner = "dolthub";
|
||||||
repo = "dolt";
|
repo = "dolt";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-rCGjBb5aiDLPBKYX4jhHxtBDf3Xs1/p1DdsFmdfLNLM=";
|
sha256 = "sha256-KIV9ZEVmx7gsFHjtb8d0QfDwN7eQTsS2jYBKrKj988Y=";
|
||||||
};
|
};
|
||||||
|
|
||||||
modRoot = "./go";
|
modRoot = "./go";
|
||||||
subPackages = [ "cmd/dolt" "cmd/git-dolt" "cmd/git-dolt-smudge" ];
|
subPackages = [ "cmd/dolt" "cmd/git-dolt" "cmd/git-dolt-smudge" ];
|
||||||
vendorSha256 = "sha256-yemt7hUcLXgC42B2q4+1MalGd3jCMHcVD/Bpq8B2x7M=";
|
vendorSha256 = "sha256-5FGcM9TFl0BGsN3hryIm1hQDCiRww2AEf2kUw3Uga78=";
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "pg_partman";
|
pname = "pg_partman";
|
||||||
version = "4.6.0";
|
version = "4.6.2";
|
||||||
|
|
||||||
buildInputs = [ postgresql ];
|
buildInputs = [ postgresql ];
|
||||||
|
|
||||||
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
|||||||
owner = "pgpartman";
|
owner = "pgpartman";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
sha256 = "sha256-DpK3D7PEZ1sO9bYvwwT9L8jtDmUGMbHtx2s9juzL6RQ=";
|
sha256 = "sha256-UQvgYynW1VzEIG6AwLRivmi8HpGc3Dx7J2+BYNpUGUM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "pgrouting";
|
pname = "pgrouting";
|
||||||
version = "3.3.0";
|
version = "3.3.1";
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake perl ];
|
nativeBuildInputs = [ cmake perl ];
|
||||||
buildInputs = [ postgresql boost ];
|
buildInputs = [ postgresql boost ];
|
||||||
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
|||||||
owner = "pgRouting";
|
owner = "pgRouting";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-GWufuOsAYLIOy5MXYVNFWVeVdLntd5ZeUnSdEahlkak=";
|
sha256 = "sha256-QOIuJM0d1l56ESzTjtm5IIiZx+2oYrO5mIhkAD8kFpQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "plpgsql_check";
|
pname = "plpgsql_check";
|
||||||
version = "2.1.5";
|
version = "2.1.8";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "okbob";
|
owner = "okbob";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-DYdZuHraecQZ33xHX6ugiUJVfFVAayD2spIQt2Qqa5U=";
|
sha256 = "sha256-YFU1gMHtcsdMbUufVi2fkjiD5Mk1q4b+W4c3/fj4rZE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ postgresql ];
|
buildInputs = [ postgresql ];
|
||||||
|
@ -683,7 +683,7 @@ rec {
|
|||||||
__stdenvImpureHostDeps = commonImpureHostDeps;
|
__stdenvImpureHostDeps = commonImpureHostDeps;
|
||||||
__extraImpureHostDeps = commonImpureHostDeps;
|
__extraImpureHostDeps = commonImpureHostDeps;
|
||||||
|
|
||||||
initialPath = import ../common-path.nix { inherit pkgs; };
|
initialPath = import ../generic/common-path.nix { inherit pkgs; };
|
||||||
shell = "${pkgs.bash}/bin/bash";
|
shell = "${pkgs.bash}/bin/bash";
|
||||||
|
|
||||||
cc = pkgs."${finalLlvmPackages}".libcxxClang;
|
cc = pkgs."${finalLlvmPackages}".libcxxClang;
|
||||||
|
@ -38,28 +38,10 @@ let
|
|||||||
in
|
in
|
||||||
if crossSystem != localSystem || crossOverlays != [] then stagesCross
|
if crossSystem != localSystem || crossOverlays != [] then stagesCross
|
||||||
else if config ? replaceStdenv then stagesCustom
|
else if config ? replaceStdenv then stagesCustom
|
||||||
else { # switch
|
else if localSystem.isLinux then stagesLinux
|
||||||
i686-linux = stagesLinux;
|
else if localSystem.isDarwin then stagesDarwin
|
||||||
x86_64-linux = stagesLinux;
|
else # misc special cases
|
||||||
armv5tel-linux = stagesLinux;
|
{ # switch
|
||||||
armv6l-linux = stagesLinux;
|
|
||||||
armv6m-linux = stagesLinux;
|
|
||||||
armv7a-linux = stagesLinux;
|
|
||||||
armv7l-linux = stagesLinux;
|
|
||||||
armv7r-linux = stagesLinux;
|
|
||||||
armv7m-linux = stagesLinux;
|
|
||||||
armv8a-linux = stagesLinux;
|
|
||||||
armv8r-linux = stagesLinux;
|
|
||||||
armv8m-linux = stagesLinux;
|
|
||||||
aarch64-linux = stagesLinux;
|
|
||||||
mipsel-linux = stagesLinux;
|
|
||||||
mips64el-linux = stagesLinux;
|
|
||||||
powerpc-linux = /* stagesLinux */ stagesNative;
|
|
||||||
powerpc64-linux = stagesLinux;
|
|
||||||
powerpc64le-linux = stagesLinux;
|
|
||||||
riscv64-linux = stagesLinux;
|
|
||||||
x86_64-darwin = stagesDarwin;
|
|
||||||
aarch64-darwin = stagesDarwin;
|
|
||||||
x86_64-solaris = stagesNix;
|
x86_64-solaris = stagesNix;
|
||||||
i686-cygwin = stagesNative;
|
i686-cygwin = stagesNative;
|
||||||
x86_64-cygwin = stagesNative;
|
x86_64-cygwin = stagesNative;
|
||||||
|
@ -397,7 +397,7 @@ in
|
|||||||
preHook = commonPreHook;
|
preHook = commonPreHook;
|
||||||
|
|
||||||
initialPath =
|
initialPath =
|
||||||
((import ../common-path.nix) {pkgs = prevStage;});
|
((import ../generic/common-path.nix) {pkgs = prevStage;});
|
||||||
|
|
||||||
extraNativeBuildInputs = [ prevStage.patchelf ] ++
|
extraNativeBuildInputs = [ prevStage.patchelf ] ++
|
||||||
# Many tarballs come with obsolete config.sub/config.guess that don't recognize aarch64.
|
# Many tarballs come with obsolete config.sub/config.guess that don't recognize aarch64.
|
||||||
|
@ -21,7 +21,7 @@ bootStages ++ [
|
|||||||
export NIX_IGNORE_LD_THROUGH_GCC=1
|
export NIX_IGNORE_LD_THROUGH_GCC=1
|
||||||
'';
|
'';
|
||||||
|
|
||||||
initialPath = (import ../common-path.nix) { pkgs = prevStage; };
|
initialPath = (import ../generic/common-path.nix) { pkgs = prevStage; };
|
||||||
|
|
||||||
cc = import ../../build-support/cc-wrapper {
|
cc = import ../../build-support/cc-wrapper {
|
||||||
inherit lib;
|
inherit lib;
|
||||||
|
@ -2,16 +2,16 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "eksctl";
|
pname = "eksctl";
|
||||||
version = "0.106.0";
|
version = "0.107.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "weaveworks";
|
owner = "weaveworks";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-ZLgjXDyXt0DcfhzS/s2xsjFpTWU8sY8QRljRg0XQvtk=";
|
sha256 = "sha256-B7H5wtnnSq9Npl2Eshjp4gzAKT+V9Cp/oJzs6+Rd3t0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-ezRlIZGXAG8jUAHyf2QMFZ8yNGtH/gl7GQm88+D8KkQ=";
|
vendorSha256 = "sha256-O5KtyC+zx+7rsIpqeKUqDLRYxw58clKSbqbWnil0x1E=";
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
@ -8,13 +8,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "keyd";
|
pname = "keyd";
|
||||||
version = "2.4.1";
|
version = "2.4.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "rvaiya";
|
owner = "rvaiya";
|
||||||
repo = "keyd";
|
repo = "keyd";
|
||||||
rev = "v" + version;
|
rev = "v" + version;
|
||||||
hash = "sha256-p0f8iGT4QtyWAnlcG4SfOhD94ySNNkQrnVjnGCmQwAk=";
|
hash = "sha256-QWr+xog16MmybhQlEWbskYa/dypb9Ld54MOdobTbyMo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
stdenvNoCC.mkDerivation rec {
|
stdenvNoCC.mkDerivation rec {
|
||||||
pname = "panoply";
|
pname = "panoply";
|
||||||
version = "5.1.0";
|
version = "5.1.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://www.giss.nasa.gov/tools/panoply/download/PanoplyJ-${version}.tgz";
|
url = "https://www.giss.nasa.gov/tools/panoply/download/PanoplyJ-${version}.tgz";
|
||||||
sha256 = "08wh9i0pk7qq2az0nd8g8gqlzwril49qffi0zcrmn7r0nx44cdjm";
|
sha256 = "sha256-qx/Uz/X9ZJ4ebV+OMtXVoReh61YAp9iRcJmywGfKiUw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
@ -2,16 +2,16 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "topicctl";
|
pname = "topicctl";
|
||||||
version = "1.3.1";
|
version = "1.4.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "segmentio";
|
owner = "segmentio";
|
||||||
repo = "topicctl";
|
repo = "topicctl";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-hbsVk82iTZGVvypZHhUk/By0sSQxmZQBog2/3qKE94s=";
|
sha256 = "sha256-uuASiJXyYzQC+9TkoALKiygRrgoEeR2cFPDQeZ9pIQ4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-i1ir/aT/jaK//rmH9k/eK4LIRh0OmEytc0mGO7IrpqI=";
|
vendorSha256 = "sha256-u5U6JnlkQOjzKjbwdKgJ2YAh8//x7H/F3PC/H60boZc=";
|
||||||
|
|
||||||
ldflags = [
|
ldflags = [
|
||||||
"-X main.BuildVersion=${version}"
|
"-X main.BuildVersion=${version}"
|
||||||
|
@ -3,13 +3,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "yad";
|
pname = "yad";
|
||||||
version = "11.0";
|
version = "12.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "v1cont";
|
owner = "v1cont";
|
||||||
repo = "yad";
|
repo = "yad";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-I+3euq3qel9VCDVf0Bd4XdMOCt+g/CYlnnje50lbRr8=";
|
sha256 = "sha256-Lp7KHASUYx3pKKCNTDGyOZslSiKFl9EGulR2yjfha9k=";
|
||||||
};
|
};
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
|
@ -9,13 +9,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "hwinfo";
|
pname = "hwinfo";
|
||||||
version = "21.80";
|
version = "21.82";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "opensuse";
|
owner = "opensuse";
|
||||||
repo = "hwinfo";
|
repo = "hwinfo";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-T4ny1tq3IMtmeZRgcAOvu2O23XEiLeKRoqOxhuVGBRw=";
|
sha256 = "sha256-kFoOqMaejvlv8RnAcUPi03qrhV/Jcy8jQ4AQA1/eBsY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
{ lib, stdenv, fetchurl, patchelf }:
|
{ lib, stdenv, fetchurl, patchelf }:
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "mlc";
|
pname = "mlc";
|
||||||
version = "3.9";
|
version = "3.9a";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://software.intel.com/content/dam/develop/external/us/en/protected/mlc_v${version}.tgz";
|
url = "https://downloadmirror.intel.com/736634/mlc_v${version}.tgz";
|
||||||
sha256 = "1x7abm9hbv9hkqa3cgxz6l04m3ycyl40i4zgx1w819pc10n6dhdb";
|
sha256 = "3vNI/CQwyY4KMFest1wkVYecsxigjXyGIUIKai979W4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
sourceRoot = "Linux";
|
sourceRoot = "Linux";
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "OpenIPMI";
|
pname = "OpenIPMI";
|
||||||
version = "2.0.32";
|
version = "2.0.33";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/openipmi/OpenIPMI-${version}.tar.gz";
|
url = "mirror://sourceforge/openipmi/OpenIPMI-${version}.tar.gz";
|
||||||
sha256 = "sha256-9tD9TAp0sF+AkHIp0LJw9UyiMpS8wRl5+LjRJ2Z4aUU=";
|
sha256 = "sha256-+1Pp6l4mgc+K982gJLGgBExnX4QRbKJ66WFsi3rZW0k=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ ncurses popt python39 readline ];
|
buildInputs = [ ncurses popt python39 readline ];
|
||||||
|
@ -14,11 +14,11 @@
|
|||||||
|
|
||||||
mkDerivation rec {
|
mkDerivation rec {
|
||||||
pname = "kdiff3";
|
pname = "kdiff3";
|
||||||
version = "1.9.5";
|
version = "1.9.6";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://download.kde.org/stable/${pname}/${pname}-${version}.tar.xz";
|
url = "https://download.kde.org/stable/${pname}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "sha256-CDchWW2dQ3O8LxKYOUqN21tVp61NckKTOnzYrmRoPBo=";
|
sha256 = "sha256-rJIkdvhQYTpzkoTj+vR3yYrDSa0Vpzeity3thFH2srw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ boost ];
|
buildInputs = [ boost ];
|
||||||
|
@ -15398,7 +15398,9 @@ with pkgs;
|
|||||||
|
|
||||||
bazel-remote = callPackage ../development/tools/build-managers/bazel/bazel-remote { };
|
bazel-remote = callPackage ../development/tools/build-managers/bazel/bazel-remote { };
|
||||||
|
|
||||||
bazel-watcher = callPackage ../development/tools/bazel-watcher { };
|
bazel-watcher = callPackage ../development/tools/bazel-watcher {
|
||||||
|
go = go_1_18;
|
||||||
|
};
|
||||||
|
|
||||||
bazel-gazelle = callPackage ../development/tools/bazel-gazelle { };
|
bazel-gazelle = callPackage ../development/tools/bazel-gazelle { };
|
||||||
|
|
||||||
@ -27289,6 +27291,10 @@ with pkgs;
|
|||||||
|
|
||||||
fractal = callPackage ../applications/networking/instant-messengers/fractal { };
|
fractal = callPackage ../applications/networking/instant-messengers/fractal { };
|
||||||
|
|
||||||
|
fractal-next = callPackage ../applications/networking/instant-messengers/fractal-next {
|
||||||
|
inherit (gst_all_1) gstreamer gst-plugins-base gst-plugins-bad;
|
||||||
|
};
|
||||||
|
|
||||||
fragments = callPackage ../applications/networking/p2p/fragments { };
|
fragments = callPackage ../applications/networking/p2p/fragments { };
|
||||||
|
|
||||||
freecad = libsForQt5.callPackage ../applications/graphics/freecad {
|
freecad = libsForQt5.callPackage ../applications/graphics/freecad {
|
||||||
|
Loading…
Reference in New Issue
Block a user