extra-nixpkgs/pkgs/x/xbuild/package.nix
Rongsong Shen 500aca76ac flake
2025-08-21 16:45:44 +08:00

32 lines
542 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=";
sha256 = "sha256-gYIYd3J4mCJJU0yJ+2xL/5URKo+M8T2Q9CWLbxQ2rtQ=";
};
nativeBuildInputs = [
autoconf
automake
libtool
];
preConfigure = ''
aclocal && automake --add-missing && autoconf
'';
}