Merge pull request #158471 from illdefined/bakelite
bakelite: unstable-2021-10-19 -> unstable-2022-02-12
This commit is contained in:
commit
e87155d446
1 changed files with 9 additions and 5 deletions
|
@ -2,17 +2,21 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "bakelite";
|
||||
version = "unstable-2021-10-19";
|
||||
version = "unstable-2022-02-12";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "richfelker";
|
||||
repo = pname;
|
||||
rev = "5fc3cf9704dbaa191b95f97d2a700588ea878a36";
|
||||
sha256 = "xoGor8KMG1vU6hP6v6gHcADKjVpaClvkivxkcPUJtss=";
|
||||
rev = "373901734d114e42aa385e6a7843745674e4ca08";
|
||||
hash = "sha256-HBnYlUyTkvPTbdsZD02yCq5C7yXOHYK4l4mDRUkcN5I=";
|
||||
};
|
||||
|
||||
hardeningEnable = [ "pie" ];
|
||||
buildFlags = [ "CFLAGS=-D_GNU_SOURCE" ];
|
||||
preBuild = ''
|
||||
# pipe2() is only exposed with _GNU_SOURCE
|
||||
# Upstream makefile explicitly uses -O3 to improve SHA-3 performance
|
||||
makeFlagsArray+=( CFLAGS="-D_GNU_SOURCE -g -O3" )
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
|
@ -23,7 +27,7 @@ stdenv.mkDerivation rec {
|
|||
homepage = "https://github.com/richfelker/bakelite";
|
||||
description = "Incremental backup with strong cryptographic confidentality";
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ mvs ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue