Merge staging-next into staging
This commit is contained in:
@@ -1,32 +1,38 @@
|
||||
{ lib, stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "hddtemp-0.3_beta15";
|
||||
|
||||
db = fetchurl{
|
||||
let
|
||||
db = fetchurl {
|
||||
url = "mirror://savannah/hddtemp/hddtemp.db";
|
||||
sha256 = "1fr6qgns6qv7cr40lic5yqwkkc7yjmmgx8j0z6d93csg3smzhhya";
|
||||
};
|
||||
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "hddtemp";
|
||||
version = "0.3-beta15";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://savannah/hddtemp/hddtemp-0.3-beta15.tar.bz2";
|
||||
sha256 = "0nzgg4nl8zm9023wp4dg007z6x3ir60rwbcapr9ks2al81c431b1";
|
||||
url = "mirror://savannah/hddtemp/hddtemp-${version}.tar.bz2";
|
||||
sha256 = "sha256-YYVBWEBUCT1TvootnoHJcXTzDwCvkcuHAKl+RC1571s=";
|
||||
};
|
||||
|
||||
# from Gentoo
|
||||
patches = [ ./byteswap.patch ./dontwake.patch ./execinfo.patch ./satacmds.patch ];
|
||||
|
||||
configurePhase =
|
||||
''
|
||||
mkdir -p $out/nix-support
|
||||
cp $db $out/nix-support/hddtemp.db
|
||||
./configure --prefix=$out --with-db-path=$out/nix-support/hddtemp.db
|
||||
'';
|
||||
configureFlags = [
|
||||
"--with-db-path=${placeholder "out"}/share/${pname}/hddtemp.db"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
install -Dm444 ${db} $out/share/${pname}/hddtemp.db
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tool for displaying hard disk temperature";
|
||||
homepage = "https://savannah.nongnu.org/projects/hddtemp/";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ peterhoeg ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -69,7 +69,7 @@ stdenv.mkDerivation rec {
|
||||
meta = with lib; {
|
||||
description = "Tool for Linux filesystem snapshot management";
|
||||
homepage = "http://snapper.io";
|
||||
license = licenses.gpl2;
|
||||
license = licenses.gpl2Only;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ tstrobel markuskowa ];
|
||||
};
|
||||
|
||||
@@ -14,12 +14,17 @@ stdenv.mkDerivation rec {
|
||||
NIX_CFLAGS_COMPILE = "-Wno-address-of-packed-member"; # Fails on gcc9
|
||||
|
||||
patches = [
|
||||
# Fix for newer binutils
|
||||
# Fixes for newer binutils
|
||||
# Add R_X86_64_PLT32 as known reloc target
|
||||
(fetchpatch {
|
||||
url =
|
||||
"https://github.com/ipxe/wimboot/commit/91be50c17d4d9f463109d5baafd70f9fdadd86db.patch";
|
||||
url = "https://github.com/ipxe/wimboot/commit/91be50c17d4d9f463109d5baafd70f9fdadd86db.patch";
|
||||
sha256 = "113448n49hmk8nz1dxbhxiciwl281zwalvb8z5p9xfnjvibj8274";
|
||||
})
|
||||
# Fix building with binutils 2.34 (bfd_get_section_* removed in favour of bfd_section_*)
|
||||
(fetchpatch {
|
||||
url = "https://github.com/ipxe/wimboot/commit/2f97e681703d30b33a4d5032a8025ab8b9f2de75.patch";
|
||||
sha256 = "0476mp74jaq3k099b654al6yi2yhgn37d9biz0wv3ln2q1gy94yf";
|
||||
})
|
||||
];
|
||||
|
||||
# We cannot use sourceRoot because the patch wouldn't apply
|
||||
@@ -40,7 +45,7 @@ stdenv.mkDerivation rec {
|
||||
meta = with lib; {
|
||||
homepage = "https://ipxe.org/wimboot";
|
||||
description = "Windows Imaging Format bootloader";
|
||||
license = licenses.gpl2;
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ das_j ajs124 ];
|
||||
platforms = platforms.x86; # Fails on aarch64
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user