Skip to content

Commit

Permalink
pants: mark as broken
Browse files Browse the repository at this point in the history
(cherry picked from commit 9dc262c)
Not much point in even fixing the build since it doesn't work [0]

ZHF: #56826
[0]: #53206 (comment)
  • Loading branch information
FRidh authored and worldofpeace committed Mar 4, 2019
1 parent f1751e6 commit f45e8b3
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions pkgs/development/tools/build-managers/pants/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@
with stdenv.lib;
with pythonPackages;

let
version = "1.7.0";
in buildPythonApplication rec {
inherit version;
buildPythonApplication rec {
pname = "pantsbuild.pants";
name = "${pname}-${version}";
version = "1.7.0";

src = fetchPypi {
inherit pname version;
sha256 = "1d7ff1383287c8e72f2c9855cfef982d362274a64e2707a93c070f988ba80a37";
};

# No tests
doCheck = false;

prePatch = ''
sed -E -i "s/'([[:alnum:].-]+)[=><][[:digit:]=><.,]*'/'\\1'/g" setup.py
substituteInPlace setup.py --replace "requests[security]<2.19,>=2.5.0" "requests[security]<2.20,>=2.5.0"
substituteInPlace setup.py --replace "requests[security]<2.19,>=2.5.0" "requests[security]<2.22,>=2.5.0"
'';

# Unnecessary, and causes some really weird behavior around .class files, which
Expand All @@ -36,6 +36,6 @@ in buildPythonApplication rec {
homepage = "https://www.pantsbuild.org/";
license = licenses.asl20;
maintainers = with maintainers; [ copumpkin ];
platforms = platforms.unix;
broken = true;
};
}

0 comments on commit f45e8b3

Please sign in to comment.