Merge staging-next into staging
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
{ rustPlatform, lib, fetchFromGitHub, lzma, pkg-config, openssl, dbus, glib, udev, cairo, pango, atk, gdk-pixbuf, gtk3, wrapGAppsHook }:
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "firmware-manager";
|
||||
version = "0.1.1";
|
||||
version = "0.1.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pop-os";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0x9604jsflqxvbkfp139mzjicpyx8v21139jj8bp88c14ngvmdlw";
|
||||
sha256 = "sha256-aKatdjHa/k7j48upkR1O6PFxCUfJYE3KhhzZ9Ohe0Jc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config wrapGAppsHook ];
|
||||
@@ -24,7 +24,7 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
installPhase = "make prefix='$(out)' install";
|
||||
|
||||
cargoSha256 = "0byc0pqa1w2qnfrx3psrzdq1c8qjslbmzxg872b9v6fr5d4c9cvg";
|
||||
cargoSha256 = "sha256-TISYaSOu8c+74ie4QHLqflXfLWwcLHEOch/hAx3iu60=";
|
||||
|
||||
doCheck = false;
|
||||
|
||||
|
||||
@@ -1,10 +1,8 @@
|
||||
{ lib, stdenv, fetchFromGitHub }:
|
||||
|
||||
# Don't use this for anything important yet!
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "fscryptctl";
|
||||
version = "0.1.0";
|
||||
version = "1.0.0";
|
||||
|
||||
goPackagePath = "github.com/google/fscrypt";
|
||||
|
||||
@@ -12,10 +10,10 @@ stdenv.mkDerivation rec {
|
||||
owner = "google";
|
||||
repo = "fscryptctl";
|
||||
rev = "v${version}";
|
||||
sha256 = "1853hlpklisbqnkb7a921dsf0vp2nr2im26zpmrs592cnpsvk3hb";
|
||||
sha256 = "1hwj726mm0yhlcf6523n07h0yq1rvkv4km64h3ydpjcrcxklhw6l";
|
||||
};
|
||||
|
||||
makeFlags = [ "DESTDIR=$(out)/bin" ];
|
||||
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Small C tool for Linux filesystem encryption";
|
||||
@@ -34,6 +32,7 @@ stdenv.mkDerivation rec {
|
||||
documentation for filesystem encryption before using fscryptctl.
|
||||
'';
|
||||
inherit (src.meta) homepage;
|
||||
changelog = "https://github.com/google/fscryptctl/releases/tag/v{version}";
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ primeos ];
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
{ lib, stdenv, fetchFromGitHub }:
|
||||
|
||||
# Don't use this for anything important!
|
||||
# TODO: Drop fscryptctl-experimental after the NixOS 21.03/21.05 release.
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "fscryptctl";
|
||||
version = "0.1.0";
|
||||
|
||||
goPackagePath = "github.com/google/fscrypt";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "google";
|
||||
repo = "fscryptctl";
|
||||
rev = "v${version}";
|
||||
sha256 = "1853hlpklisbqnkb7a921dsf0vp2nr2im26zpmrs592cnpsvk3hb";
|
||||
};
|
||||
|
||||
makeFlags = [ "DESTDIR=$(out)/bin" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Small C tool for Linux filesystem encryption";
|
||||
longDescription = ''
|
||||
fscryptctl is a low-level tool written in C that handles raw keys and
|
||||
manages policies for Linux filesystem encryption, specifically the
|
||||
"fscrypt" kernel interface which is supported by the ext4, f2fs, and
|
||||
UBIFS filesystems.
|
||||
fscryptctl is mainly intended for embedded systems which can't use the
|
||||
full-featured fscrypt tool, or for testing or experimenting with the
|
||||
kernel interface to Linux filesystem encryption. fscryptctl does not
|
||||
handle key generation, key stretching, key wrapping, or PAM integration.
|
||||
Most users should use the fscrypt tool instead, which supports these
|
||||
features and generally is much easier to use.
|
||||
As fscryptctl is intended for advanced users, you should read the kernel
|
||||
documentation for filesystem encryption before using fscryptctl.
|
||||
'';
|
||||
inherit (src.meta) homepage;
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ primeos ];
|
||||
knownVulnerabilities = [ ''
|
||||
fscryptctl version 1.0.0 was released and now uses v2 encryption
|
||||
policies. fscryptctl-experimental will remain at version 0.1.0 which
|
||||
still supports the v1 encryption policies. Please try to switch from the
|
||||
"fscryptctl-experimental" package to "fscryptctl". The v1 encryption
|
||||
policies can be insecure, are hard to use correctly, and have different
|
||||
semantics from v2 policies (which is why they are no longer supported in
|
||||
fscryptctl 1.0.0+).
|
||||
'' ];
|
||||
};
|
||||
}
|
||||
@@ -145,7 +145,7 @@ buildHostCmd() {
|
||||
if [ -z "$buildHost" ]; then
|
||||
"$@"
|
||||
elif [ -n "$remoteNix" ]; then
|
||||
ssh $SSHOPTS "$buildHost" env PATH="$remoteNix:$PATH" "${maybeSudo[@]}" "$@"
|
||||
ssh $SSHOPTS "$buildHost" env PATH="$remoteNix":'$PATH' "${maybeSudo[@]}" "$@"
|
||||
else
|
||||
ssh $SSHOPTS "$buildHost" "${maybeSudo[@]}" "$@"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user