initial xbuild
This commit is contained in:
parent
44eb1c3ffb
commit
26661fe1a6
4 changed files with 38 additions and 226 deletions
31
pkgs/x/xbuild.nix
Normal file
31
pkgs/x/xbuild.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
# xbuild.nix
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
autoconf,
|
||||
automake,
|
||||
libtool,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "xbuild";
|
||||
version = "v0.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "shen390s";
|
||||
repo = "xbuild";
|
||||
rev = "master";
|
||||
sha256 = "sha256-gYIYd3J4mCJJU0yJ+2xL/5URKo+M8T2Q9CWLbxQ2rtQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoconf
|
||||
automake
|
||||
libtool
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
aclocal && automake --add-missing && autoconf
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue