mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
ao: init at 0.0pre20160820
This commit is contained in:
parent
c2b47f3f07
commit
a28ca06298
3 changed files with 40 additions and 0 deletions
33
pkgs/applications/graphics/ao/default.nix
Normal file
33
pkgs/applications/graphics/ao/default.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
{stdenv, fetchgit, cmake, ninja, boost, libpng, glfw3, epoxy, guile, pkgconfig
|
||||
, mesa, libX11, libpthreadstubs, libXau, libXdmcp, libXrandr, libXext
|
||||
, libXinerama, libXxf86vm, libXcursor, libXfixes
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.0pre20160820";
|
||||
name = "ao-${version}";
|
||||
buildInputs = [
|
||||
cmake ninja boost libpng glfw3 epoxy guile pkgconfig mesa libX11
|
||||
libpthreadstubs libXau libXdmcp libXrandr libXext libXinerama libXxf86vm
|
||||
libXcursor libXfixes
|
||||
];
|
||||
src = fetchgit (stdenv.lib.importJSON ./src.json);
|
||||
cmakeFlags = "-G Ninja";
|
||||
buildPhase = "ninja";
|
||||
installPhase = ''
|
||||
ninja install
|
||||
cd ..
|
||||
cp lib/lib* bind/lib* "$out/lib"
|
||||
cp -r bin "$out/bin"
|
||||
mkdir "$out/doc"
|
||||
cp -r doc "$out/doc/ao"
|
||||
cp -r examples "$out/doc/ao/examples"
|
||||
cp -r bind "$out/bind"
|
||||
'';
|
||||
meta = {
|
||||
inherit version;
|
||||
description = ''Homoiconic CAD package'';
|
||||
license = stdenv.lib.licenses.gpl2Plus ; # Some parts can be extracted and used under LGPL2+
|
||||
maintainers = [stdenv.lib.maintainers.raskin];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
5
pkgs/applications/graphics/ao/src.json
Normal file
5
pkgs/applications/graphics/ao/src.json
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"url": "https://github.com/mkeeter/ao",
|
||||
"rev": "69fadb81543cc9031e4a7ec2036c7f2ab505a620",
|
||||
"sha256": "1717k72vr0i5j7bvxmd6q16fpvkljnqfa1hr3i4yq8cjdsj69my7"
|
||||
}
|
|
@ -12288,6 +12288,8 @@ in
|
|||
|
||||
antiword = callPackage ../applications/office/antiword {};
|
||||
|
||||
ao = callPackage ../applications/graphics/ao {};
|
||||
|
||||
ardour = self.ardour4;
|
||||
|
||||
ardour3 = callPackage ../applications/audio/ardour/ardour3.nix {
|
||||
|
|
Loading…
Reference in a new issue