Jan Tojnar 2019-09-09 13:36:49 +02:00
parent bf96e6da6d
commit 5fe42dde52
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -15,28 +15,19 @@
, json-glib , json-glib
}: }:
stdenv.mkDerivation { stdenv.mkDerivation rec {
pname = "gthree"; pname = "gthree";
version = "unstable-2019-08-21"; version = "0.2.0";
outputs = [ "out" "dev" "devdoc" ]; outputs = [ "out" "dev" "devdoc" ];
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "alexlarsson"; owner = "alexlarsson";
repo = "gthree"; repo = "gthree";
rev = "dac46b0f35e29319c004c7e17b5f345ef4c04cb8"; rev = version;
sha256 = "16ixis2g04000zffm44s7ir64vn3byz9a793g2s76aasqybl86i2"; sha256 = "16ap1ampnzsyhrs84b168d6889lh8sjr2j5sqv9mdbnnhy72p5cd";
}; };
patches = [
# correctly declare json-glib in .pc file
# https://github.com/alexlarsson/gthree/pull/61
(fetchpatch {
url = https://github.com/alexlarsson/gthree/commit/784b1f20e0b6eb15f113a51f74c2cba871249861.patch;
sha256 = "07vxafaxris5a98w751aw04nlw0l45np1lba08xd16wdzmkadz0x";
})
];
nativeBuildInputs = [ nativeBuildInputs = [
ninja ninja
meson meson
@ -64,7 +55,7 @@ stdenv.mkDerivation {
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "GObject/GTK port of three.js"; description = "GObject/GTK port of three.js";
homepage = https://github.com/alexlarsson/gthree; homepage = "https://github.com/alexlarsson/gthree";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ jtojnar ]; maintainers = with maintainers; [ jtojnar ];
platforms = platforms.unix; platforms = platforms.unix;