extra-nixpkgs/pkgs/x/xbuild/package.nix
Rongsong Shen 4dfb17fdd4 add cedro
2025-08-07 13:09:06 +08:00

31 lines
472 B
Nix

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