From 1a2893f58a4817f917c7ca0caf6a1d0933637c0e Mon Sep 17 00:00:00 2001 From: sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> Date: Thu, 24 Dec 2020 15:11:56 +0100 Subject: [PATCH 1/2] sourcetrail: fix hash for SourceTrailPythonIndexer The sha256 for the python indexer wasn't updated along with the git revision. The old hash is of commit 0d1246be53b37639427fe9959f748dd0fc429c8f, the new hash the correct one for tag v1_db25_p5 (3afb24195c5f3dc98e4cb60751f908f09f1bc046). --- pkgs/development/tools/sourcetrail/python.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/tools/sourcetrail/python.nix b/pkgs/development/tools/sourcetrail/python.nix index 113abb77d61b6..ecd18c14bf304 100644 --- a/pkgs/development/tools/sourcetrail/python.nix +++ b/pkgs/development/tools/sourcetrail/python.nix @@ -8,7 +8,7 @@ stdenv.mkDerivation rec { owner = "CoatiSoftware"; repo = pname; rev = version; - sha256 = "05hlpd3am029pv1wi6mys3q0ggp64axmg8bdf1fabl9cl9jffscq"; + sha256 = "01jaigxigq6dvfwq018gn9qw7i6p4jm0y71lqzschfv9vwf6ga45"; fetchSubmodules = true; }; From be7c07f471c6f19b12ada755c80b5fed862b29c7 Mon Sep 17 00:00:00 2001 From: sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> Date: Fri, 25 Dec 2020 10:21:13 +0100 Subject: [PATCH 2/2] sourcetrail: mark SourceTrailPythonIndexer as broken on darwin --- pkgs/development/tools/sourcetrail/python.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/tools/sourcetrail/python.nix b/pkgs/development/tools/sourcetrail/python.nix index ecd18c14bf304..8ec9c9a2297f9 100644 --- a/pkgs/development/tools/sourcetrail/python.nix +++ b/pkgs/development/tools/sourcetrail/python.nix @@ -64,5 +64,7 @@ stdenv.mkDerivation rec { description = "Python indexer for Sourcetrail"; homepage = "https://github.com/CoatiSoftware/SourcetrailPythonIndexer"; license = licenses.gpl3; + broken = stdenv.isDarwin; + # https://github.com/NixOS/nixpkgs/pull/107533#issuecomment-751063675 }; }