forked from mirrors/nixpkgs
Merge staging-next into staging
This commit is contained in:
commit
70e5346a93
|
@ -26,6 +26,9 @@
|
|||
, qtmacextras
|
||||
, qmake
|
||||
, spacenavSupport ? stdenv.isLinux, libspnav
|
||||
, wayland
|
||||
, wayland-protocols
|
||||
, qtwayland
|
||||
}:
|
||||
|
||||
mkDerivation rec {
|
||||
|
@ -45,7 +48,7 @@ mkDerivation rec {
|
|||
eigen boost glew opencsg cgal mpfr gmp glib
|
||||
harfbuzz lib3mf libzip double-conversion freetype fontconfig
|
||||
qtbase qtmultimedia qscintilla
|
||||
] ++ lib.optionals stdenv.isLinux [ libGLU libGL ]
|
||||
] ++ lib.optionals stdenv.isLinux [ libGLU libGL wayland wayland-protocols qtwayland ]
|
||||
++ lib.optional stdenv.isDarwin qtmacextras
|
||||
++ lib.optional spacenavSupport libspnav
|
||||
;
|
||||
|
|
|
@ -60,11 +60,11 @@ in
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "go";
|
||||
version = "1.18.3";
|
||||
version = "1.18.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://go.dev/dl/go${version}.src.tar.gz";
|
||||
sha256 = "sha256-ABI4bdy7XzNQ5AfGeZI4EdvSg/zcQhckkxYUqELsvC0=";
|
||||
sha256 = "sha256-RSWqaw487LV4RfQGCnB1qvyat1K7e2tM+KIS1DB44eQ=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
|
|
@ -13,12 +13,12 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "myst-docutils";
|
||||
version = "0.17.2";
|
||||
version = "0.18.0";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-Of3AVM0OsspcmvRAEXbfu2+V3ju6yqb2sFBexkbmNIU=";
|
||||
sha256 = "sha256-evyIuNLbBWR3KfQMv2lNw6fOgX1+/uMS5cHIbSTYDmA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
@ -21,16 +21,16 @@
|
|||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "nushell";
|
||||
version = "0.64.0";
|
||||
version = "0.65.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-mDKoZVen3g8GujWF8WILEqdlHFDx2BxGyBJJFmK9Mdw=";
|
||||
sha256 = "sha256-KgXhmAOJaAvmNuDqSaW+h6GF5rWYgj8/wn+vz9V9S7M=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-A2RJoU2hHcN6DfBQ+cPECtoVnrxlEHHlOV9bLqQE8VU=";
|
||||
cargoSha256 = "sha256-YqtM/1p6oP0+E0rYSFPeCbof06E81eC2PZIwkU7J0I4=";
|
||||
# Since 0.34, nu has an indirect dependency on `zstd-sys` (via `polars` and
|
||||
# `parquet`, for dataframe support), which by default has an impure build
|
||||
# (git submodule for the `zstd` C library). The `pkg-config` feature flag
|
||||
|
|
|
@ -1,25 +1,34 @@
|
|||
{ buildGoModule, fetchFromGitHub, lib }:
|
||||
buildGoModule rec {
|
||||
pname = "aws-sso-cli";
|
||||
version = "1.9.2";
|
||||
{ buildGoModule
|
||||
, fetchFromGitHub
|
||||
, lib
|
||||
, makeWrapper
|
||||
, xdg-utils
|
||||
}:
|
||||
buildGoModule rec {
|
||||
pname = "aws-sso-cli";
|
||||
version = "1.9.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "synfinatic";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "9/dZfRmFAyE5NEMmuiVsRvwgqQrTNhXkTR9N0d3zgfk=";
|
||||
};
|
||||
vendorSha256 = "BlSCLvlrKiubMtfFSZ5ppMmL2ZhJcBXxJfeRgMADYB4=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "synfinatic";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "9/dZfRmFAyE5NEMmuiVsRvwgqQrTNhXkTR9N0d3zgfk=";
|
||||
};
|
||||
vendorSha256 = "BlSCLvlrKiubMtfFSZ5ppMmL2ZhJcBXxJfeRgMADYB4=";
|
||||
|
||||
postInstall = ''
|
||||
mv $out/bin/cmd $out/bin/aws-sso
|
||||
'';
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/synfinatic/aws-sso-cli";
|
||||
description = "AWS SSO CLI is a secure replacement for using the aws configure sso wizard";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ devusb ];
|
||||
mainProgram = "aws-sso";
|
||||
};
|
||||
postInstall = ''
|
||||
mv $out/bin/cmd $out/bin/aws-sso
|
||||
wrapProgram $out/bin/aws-sso \
|
||||
--prefix PATH : ${lib.makeBinPath [ xdg-utils ]}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/synfinatic/aws-sso-cli";
|
||||
description = "AWS SSO CLI is a secure replacement for using the aws configure sso wizard";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ devusb ];
|
||||
mainProgram = "aws-sso";
|
||||
};
|
||||
}
|
||||
|
|
44
pkgs/tools/inputmethods/keyd/default.nix
Normal file
44
pkgs/tools/inputmethods/keyd/default.nix
Normal file
|
@ -0,0 +1,44 @@
|
|||
{ stdenv
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, pkg-config
|
||||
, systemd
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "keyd";
|
||||
version = "2.4.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rvaiya";
|
||||
repo = "keyd";
|
||||
rev = "v" + version;
|
||||
hash = "sha256-p0f8iGT4QtyWAnlcG4SfOhD94ySNNkQrnVjnGCmQwAk=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace Makefile \
|
||||
--replace DESTDIR= DESTDIR=${placeholder "out"} \
|
||||
--replace /usr "" \
|
||||
--replace /var/log/keyd.log /var/log/keyd/keyd.log
|
||||
|
||||
substituteInPlace keyd.service \
|
||||
--replace /usr/bin $out/bin
|
||||
'';
|
||||
|
||||
buildInputs = [ systemd ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
postInstall = ''
|
||||
rm -rf $out/etc
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A key remapping daemon for linux.";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ peterhoeg ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -2,16 +2,16 @@
|
|||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "boringtun";
|
||||
version = "0.4.0";
|
||||
version = "0.5.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cloudflare";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-fZchh02CsVC5sdnR3blojslsKi7OxFcblHMuyuHsH/4=";
|
||||
sha256 = "sha256-TE+K7eJ+yetLliZ5k+iyxeBBRIgCAidFhpCey+yEoA0=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-iJbzvhRPVDHXqianQ6UbmYEfmZCS/obxFZV/PsJMhD0=";
|
||||
cargoSha256 = "sha256-zIosLh+F0UoTVoLwiQ71lHLLp7bMrLXIueMRF95Y7dg=";
|
||||
|
||||
buildInputs = lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security;
|
||||
|
||||
|
|
|
@ -4982,6 +4982,8 @@ with pkgs;
|
|||
|
||||
evscript = callPackage ../tools/inputmethods/evscript { };
|
||||
|
||||
keyd = callPackage ../tools/inputmethods/keyd { };
|
||||
|
||||
gebaar-libinput = callPackage ../tools/inputmethods/gebaar-libinput { stdenv = gcc10StdenvCompat; };
|
||||
|
||||
kime = callPackage ../tools/inputmethods/kime { };
|
||||
|
|
Loading…
Reference in a new issue