poly2tri-c: move away from untrusted repo to one that is owned by its Nixpkgs maintainer

See also:
https://gitlab.gnome.org/GNOME/gegl/-/issues/214#note_1002908
https://github.com/NixOS/nixpkgs/pull/109812
master
Justin Humm 2021-01-25 13:18:20 +01:00
parent 7a59fcdf4e
commit b193bc75ad
1 changed files with 5 additions and 4 deletions

View File

@ -1,5 +1,5 @@
{ lib, stdenv
, fetchFromGitHub
, fetchFromGitLab
, autoreconfHook
, pkg-config
, glib
@ -11,9 +11,10 @@ stdenv.mkDerivation rec {
outputs = [ "bin" "out" "dev" ];
src = fetchFromGitHub {
owner = "Mattey40";
repo = "poly2tri-c";
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "jtojnar";
repo = pname;
rev = "p2tc-${version}";
sha256 = "158vm3wqfxs22b74kqc4prlvjny38qqm3kz5wrgasmx0qciwh0g8";
};