From 5fe42dde52368357b30b6eeef3683b82c96ea239 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Mon, 9 Sep 2019 13:36:49 +0200 Subject: [PATCH] =?UTF-8?q?gthree:=20unstable-2019-08-21=20=E2=86=92=200.2?= =?UTF-8?q?.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://blogs.gnome.org/alexl/2019/09/09/gthree-ready-to-play/ https://github.com/alexlarsson/gthree/releases/tag/0.2.0 --- pkgs/development/libraries/gthree/default.nix | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/pkgs/development/libraries/gthree/default.nix b/pkgs/development/libraries/gthree/default.nix index 1af62e14d8d2..04d7c8d8f4d4 100644 --- a/pkgs/development/libraries/gthree/default.nix +++ b/pkgs/development/libraries/gthree/default.nix @@ -15,28 +15,19 @@ , json-glib }: -stdenv.mkDerivation { +stdenv.mkDerivation rec { pname = "gthree"; - version = "unstable-2019-08-21"; + version = "0.2.0"; outputs = [ "out" "dev" "devdoc" ]; src = fetchFromGitHub { owner = "alexlarsson"; repo = "gthree"; - rev = "dac46b0f35e29319c004c7e17b5f345ef4c04cb8"; - sha256 = "16ixis2g04000zffm44s7ir64vn3byz9a793g2s76aasqybl86i2"; + rev = version; + 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 = [ ninja meson @@ -64,7 +55,7 @@ stdenv.mkDerivation { meta = with stdenv.lib; { description = "GObject/GTK port of three.js"; - homepage = https://github.com/alexlarsson/gthree; + homepage = "https://github.com/alexlarsson/gthree"; license = licenses.mit; maintainers = with maintainers; [ jtojnar ]; platforms = platforms.unix;