extra-nixpkgs/pkgs/x/xbuild/package.nix
Rongsong Shen 769ef84cd3 refine
2025-08-22 17:20:38 +08:00

31 lines
536 B
Nix

# xbuild.nix
{
lib,
stdenv,
fetchFromGitHub,
pkgs,
...
}:
stdenv.mkDerivation {
pname = "xbuild";
version = "0.0.1";
src = fetchFromGitHub {
owner = "shen390s";
repo = "xbuild";
rev = "master";
# sha256 = "sha256-DLq7vC+4k2TMy5jKvQkFTy+xZmpvl0+DiWcd7CBVbgw=";
sha256 = "sha256-gYIYd3J4mCJJU0yJ+2xL/5URKo+M8T2Q9CWLbxQ2rtQ=";
};
nativeBuildInputs = [
pkgs.autoconf
pkgs.automake
pkgs.libtool
];
preConfigure = ''
aclocal && automake --add-missing && autoconf
'';
}