mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
libsmbios: add musl patch
Upstream seems pretty dead, so I think a patch is the best we're going to get here. But on the other hand, that means the package isn't likely to require a lot of maintenance that could be made more difficult by having a patch around.
This commit is contained in:
parent
4d5fbbaa00
commit
a997c219d8
@ -1,6 +1,6 @@
|
||||
{ lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook, help2man, gettext
|
||||
, libxml2, perl, python3, doxygen }:
|
||||
|
||||
{ lib, stdenv, fetchFromGitHub, fetchurl
|
||||
, pkg-config, autoreconfHook, help2man, gettext, libxml2, perl, python3, doxygen
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libsmbios";
|
||||
@ -13,6 +13,14 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0krwwydyvb9224r884y1mlmzyxhlfrcqw73vi1j8787rl0gl5a2i";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchurl {
|
||||
name = "musl.patch";
|
||||
url = "https://git.alpinelinux.org/aports/plain/community/libsmbios/fixes.patch?id=bdc4f67889c958c1266fa5d0cab71c3cd639122f";
|
||||
sha256 = "aVVc52OovDYvqWRyKcRAi62daa9AalkKvnVOGvrTmRk=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook doxygen gettext libxml2 help2man perl pkg-config ];
|
||||
|
||||
buildInputs = [ python3 ];
|
||||
|
Loading…
Reference in New Issue
Block a user