Merge staging-next into staging
This commit is contained in:
commit
6e0acbf2ec
12 changed files with 92 additions and 16 deletions
|
@ -75,7 +75,7 @@ A run time dependency between two packages requires that their host platforms ma
|
||||||
|
|
||||||
A build time dependency, however, has a shift in platforms between the depending package and the depended-on package. "build time dependency" means that to build the depending package we need to be able to run the depended-on's package. The depending package's build platform is therefore equal to the depended-on package's host platform.
|
A build time dependency, however, has a shift in platforms between the depending package and the depended-on package. "build time dependency" means that to build the depending package we need to be able to run the depended-on's package. The depending package's build platform is therefore equal to the depended-on package's host platform.
|
||||||
|
|
||||||
If both the dependency and depending packages aren't compilers or other machine-code-producing tools, we're done. And indeed `buildInputs` and `nativeBuildInputs` have covered these simpler build-time and run-time (respectively) changes for many years. But if the dependency does produce machine code, we might need to worry about its target platform too. In principle, that target platform might be any of the depending package's build, host, or target platforms, but we prohibit dependencies from a "later" platform to an earlier platform to limit confusion because we've never seen a legitimate use for them.
|
If both the dependency and depending packages aren't compilers or other machine-code-producing tools, we're done. And indeed `buildInputs` and `nativeBuildInputs` have covered these simpler cases for many years. But if the dependency does produce machine code, we might need to worry about its target platform too. In principle, that target platform might be any of the depending package's build, host, or target platforms, but we prohibit dependencies from a "later" platform to an earlier platform to limit confusion because we've never seen a legitimate use for them.
|
||||||
|
|
||||||
Finally, if the depending package is a compiler or other machine-code-producing tool, it might need dependencies that run at "emit time". This is for compilers that (regrettably) insist on being built together with their source languages' standard libraries. Assuming build != host != target, a run-time dependency of the standard library cannot be run at the compiler's build time or run time, but only at the run time of code emitted by the compiler.
|
Finally, if the depending package is a compiler or other machine-code-producing tool, it might need dependencies that run at "emit time". This is for compilers that (regrettably) insist on being built together with their source languages' standard libraries. Assuming build != host != target, a run-time dependency of the standard library cannot be run at the compiler's build time or run time, but only at the run time of code emitted by the compiler.
|
||||||
|
|
||||||
|
|
|
@ -100,6 +100,12 @@
|
||||||
githubId = 178750;
|
githubId = 178750;
|
||||||
name = "Andreas Baldeau";
|
name = "Andreas Baldeau";
|
||||||
};
|
};
|
||||||
|
abathur = {
|
||||||
|
email = "travis.a.everett+nixpkgs@gmail.com";
|
||||||
|
github = "abathur";
|
||||||
|
githubId = 2548365;
|
||||||
|
name = "Travis A. Everett";
|
||||||
|
};
|
||||||
abbe = {
|
abbe = {
|
||||||
email = "ashish.is@lostca.se";
|
email = "ashish.is@lostca.se";
|
||||||
github = "wahjava";
|
github = "wahjava";
|
||||||
|
|
|
@ -6,7 +6,7 @@ import ./make-test-python.nix ({ pkgs, ... }: {
|
||||||
|
|
||||||
testScript = ''
|
testScript = ''
|
||||||
lsd.succeed('echo "abc" > /tmp/foo')
|
lsd.succeed('echo "abc" > /tmp/foo')
|
||||||
assert "4 B /tmp/foo" in lsd.succeed('lsd --classic --blocks "size,name" /tmp/foo')
|
assert "4 B /tmp/foo" in lsd.succeed('lsd --classic --blocks "size,name" -l /tmp/foo')
|
||||||
assert "lsd ${pkgs.lsd.version}" in lsd.succeed("lsd --version")
|
assert "lsd ${pkgs.lsd.version}" in lsd.succeed("lsd --version")
|
||||||
'';
|
'';
|
||||||
})
|
})
|
||||||
|
|
|
@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
||||||
description = "Shell history suggest box - easily view, navigate, search and use your command history";
|
description = "Shell history suggest box - easily view, navigate, search and use your command history";
|
||||||
license = stdenv.lib.licenses.asl20;
|
license = stdenv.lib.licenses.asl20;
|
||||||
maintainers = [ stdenv.lib.maintainers.matthiasbeyer ];
|
maintainers = [ stdenv.lib.maintainers.matthiasbeyer ];
|
||||||
platforms = with stdenv.lib.platforms; linux; # Cannot test others
|
platforms = with stdenv.lib.platforms; linux ++ darwin;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,64 @@
|
||||||
|
{ stdenv, appimageTools, gsettings-desktop-schemas, gtk3, autoPatchelfHook, zlib, fetchurl }:
|
||||||
|
|
||||||
|
let
|
||||||
|
pname = "radicle-upstream";
|
||||||
|
version = "0.1.5";
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://releases.radicle.xyz/radicle-upstream-${version}.AppImage";
|
||||||
|
sha256 = "1q5p6bvzi5awxd9a3xvvdhy26bz0dx8drb1z0zzqdvqqcxxyydq7";
|
||||||
|
};
|
||||||
|
|
||||||
|
contents = appimageTools.extractType2 { inherit name src; };
|
||||||
|
|
||||||
|
git-remote-rad = stdenv.mkDerivation rec {
|
||||||
|
pname = "git-remote-rad";
|
||||||
|
inherit version;
|
||||||
|
src = contents;
|
||||||
|
|
||||||
|
nativeBuildInputs = [ autoPatchelfHook ];
|
||||||
|
buildInputs = [ zlib ];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/bin/
|
||||||
|
cp ${contents}/resources/git-remote-rad $out/bin/git-remote-rad
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
in
|
||||||
|
|
||||||
|
# FIXME: a dependency of the `proxy` component of radicle-upstream (radicle-macros
|
||||||
|
# v0.1.0) uses unstable rust features, making a from source build impossible at
|
||||||
|
# this time. See this PR for discussion: https://github.com/NixOS/nixpkgs/pull/105674
|
||||||
|
appimageTools.wrapType2 {
|
||||||
|
inherit name src;
|
||||||
|
|
||||||
|
profile = ''
|
||||||
|
export XDG_DATA_DIRS=${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}:${gtk3}/share/gsettings-schemas/${gtk3.name}:$XDG_DATA_DIRS
|
||||||
|
'';
|
||||||
|
|
||||||
|
extraInstallCommands = ''
|
||||||
|
mv $out/bin/${name} $out/bin/${pname}
|
||||||
|
|
||||||
|
# this automatically adds the git-remote-rad binary to the users `PATH` so
|
||||||
|
# they don't need to mess around with shell profiles...
|
||||||
|
ln -s ${git-remote-rad}/bin/git-remote-rad $out/bin/git-remote-rad
|
||||||
|
|
||||||
|
# desktop item
|
||||||
|
install -m 444 -D ${contents}/${pname}.desktop $out/share/applications/${pname}.desktop
|
||||||
|
substituteInPlace $out/share/applications/${pname}.desktop \
|
||||||
|
--replace 'Exec=AppRun' 'Exec=${pname}'
|
||||||
|
|
||||||
|
# icon
|
||||||
|
install -m 444 -D ${contents}/${pname}.png \
|
||||||
|
$out/share/icons/hicolor/512x512/apps/${pname}.png
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A decentralized app for code collaboration";
|
||||||
|
homepage = "https://radicle.xyz/";
|
||||||
|
license = licenses.gpl3Plus;
|
||||||
|
maintainers = with maintainers; [ xwvvvvwx ];
|
||||||
|
platforms = [ "x86_64-linux" ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -19,10 +19,10 @@ stdenv.mkDerivation {
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
install -Dt $out/bin $src/yadm
|
install -Dt $out/bin yadm
|
||||||
install -Dt $out/share/man/man1 $src/yadm.1
|
install -Dt $out/share/man/man1 yadm.1
|
||||||
install -D $src/completion/yadm.zsh_completion $out/share/zsh/site-functions/_yadm
|
install -D completion/yadm.zsh_completion $out/share/zsh/site-functions/_yadm
|
||||||
install -D $src/completion/yadm.bash_completion $out/share/bash-completion/completions/yadm.bash
|
install -D completion/yadm.bash_completion $out/share/bash-completion/completions/yadm.bash
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
@ -36,6 +36,7 @@ stdenv.mkDerivation {
|
||||||
* Supplies a method of encrypting confidential data so it can safely be stored in your repository.
|
* Supplies a method of encrypting confidential data so it can safely be stored in your repository.
|
||||||
'';
|
'';
|
||||||
license = stdenv.lib.licenses.gpl3;
|
license = stdenv.lib.licenses.gpl3;
|
||||||
|
maintainers = with stdenv.lib.maintainers; [ abathur ];
|
||||||
platforms = stdenv.lib.platforms.unix;
|
platforms = stdenv.lib.platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,13 +21,13 @@ let
|
||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
pname = "amdvlk";
|
pname = "amdvlk";
|
||||||
version = "2020.Q4.5";
|
version = "2020.Q4.6";
|
||||||
|
|
||||||
src = fetchRepoProject {
|
src = fetchRepoProject {
|
||||||
name = "${pname}-src";
|
name = "${pname}-src";
|
||||||
manifest = "https://github.com/GPUOpen-Drivers/AMDVLK.git";
|
manifest = "https://github.com/GPUOpen-Drivers/AMDVLK.git";
|
||||||
rev = "refs/tags/v-${version}";
|
rev = "refs/tags/v-${version}";
|
||||||
sha256 = "1CcupEm19ZGEma0TIkGxOa0doKhlPbfXFX2S44EBNp0=";
|
sha256 = "wminJxfku8Myag+SI7iLSvS+VzHlUd4c86BbpF/cr1w=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
|
|
@ -54,6 +54,9 @@ let
|
||||||
optionals (hasPrefix "libressl" openssl.meta.name) failingLibresslTests
|
optionals (hasPrefix "libressl" openssl.meta.name) failingLibresslTests
|
||||||
) ++ (
|
) ++ (
|
||||||
optionals (versionAtLeast (getVersion openssl.name) "1.1") failingOpenSSL_1_1Tests
|
optionals (versionAtLeast (getVersion openssl.name) "1.1") failingOpenSSL_1_1Tests
|
||||||
|
) ++ (
|
||||||
|
# https://github.com/pyca/pyopenssl/issues/974
|
||||||
|
optionals stdenv.isi686 [ "test_verify_with_time" ]
|
||||||
);
|
);
|
||||||
|
|
||||||
# Compose the final string expression, including the "-k" and the single quotes.
|
# Compose the final string expression, including the "-k" and the single quotes.
|
||||||
|
|
|
@ -3,12 +3,12 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "sbt";
|
pname = "sbt";
|
||||||
version = "1.4.4";
|
version = "1.4.5";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url =
|
url =
|
||||||
"https://github.com/sbt/sbt/releases/download/v${version}/sbt-${version}.tgz";
|
"https://github.com/sbt/sbt/releases/download/v${version}/sbt-${version}.tgz";
|
||||||
sha256 = "0ibdq8g2bcanc7gcjslia89khlccn11inqmkx3y7pbqrc63y1yif";
|
sha256 = "wFxv20NfMMcw4yP8wbmLow8189jExDxkSIRqK2Ix/6U=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
|
|
|
@ -11,11 +11,11 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "dtschema";
|
pname = "dtschema";
|
||||||
version = "2020.11";
|
version = "2020.12";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "ad052d293eadb5b64631bfffac62c496427ad4105e76eef19a5422ba762ee734";
|
sha256 = "01de2598075909f2afb2d45277d0358645066f5bbb1770fca5f1d6f399846924";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ setuptools_scm git ];
|
nativeBuildInputs = [ setuptools_scm git ];
|
||||||
|
|
|
@ -7,11 +7,11 @@ let inherit (stdenv.lib) optional optionals; in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "knot-dns";
|
pname = "knot-dns";
|
||||||
version = "3.0.2";
|
version = "3.0.3";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://secure.nic.cz/files/knot-dns/knot-${version}.tar.xz";
|
url = "https://secure.nic.cz/files/knot-dns/knot-${version}.tar.xz";
|
||||||
sha256 = "f813a5e53263ef51d0415508e1f7d33cfbb75a139ccb10a344ae5a91689933fb";
|
sha256 = "fbc51897ef0ed0639ebad59b988a91382b9544288a2db8254f0b1de433140e38";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "bin" "out" "dev" ];
|
outputs = [ "bin" "out" "dev" ];
|
||||||
|
|
|
@ -16399,7 +16399,7 @@ in
|
||||||
CoreText IOSurface ImageIO OpenGL GLUT;
|
CoreText IOSurface ImageIO OpenGL GLUT;
|
||||||
};
|
};
|
||||||
|
|
||||||
vtk_9 = libsForQt514.callPackage ../development/libraries/vtk/9.x.nix {
|
vtk_9 = libsForQt515.callPackage ../development/libraries/vtk/9.x.nix {
|
||||||
inherit (darwin) libobjc;
|
inherit (darwin) libobjc;
|
||||||
inherit (darwin.apple_sdk.libs) xpc;
|
inherit (darwin.apple_sdk.libs) xpc;
|
||||||
inherit (darwin.apple_sdk.frameworks) Cocoa CoreServices DiskArbitration
|
inherit (darwin.apple_sdk.frameworks) Cocoa CoreServices DiskArbitration
|
||||||
|
@ -17626,6 +17626,8 @@ in
|
||||||
|
|
||||||
radicale = radicale3;
|
radicale = radicale3;
|
||||||
|
|
||||||
|
radicle-upstream = callPackage ../applications/version-management/git-and-tools/radicle-upstream {};
|
||||||
|
|
||||||
rake = callPackage ../development/tools/build-managers/rake { };
|
rake = callPackage ../development/tools/build-managers/rake { };
|
||||||
|
|
||||||
redis = callPackage ../servers/nosql/redis { };
|
redis = callPackage ../servers/nosql/redis { };
|
||||||
|
|
Loading…
Reference in a new issue