docopt_cpp: stay with python2

This commit is contained in:
Frederik Rietdijk 2021-03-25 12:27:59 +01:00
parent 49b68c5924
commit 0aaee53c2a

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, cmake, python }:
{ lib, stdenv, fetchFromGitHub, cmake, python2 }:
stdenv.mkDerivation rec {
version = "0.6.3";
@ -11,10 +11,12 @@ stdenv.mkDerivation rec {
sha256 = "0cz3vv7g5snfbsqcf3q8bmd6kv5qp84gj3avwkn4vl00krw13bl7";
};
nativeBuildInputs = [ cmake python ];
nativeBuildInputs = [ cmake python2 ];
cmakeFlags = ["-DWITH_TESTS=ON"];
strictDeps = true;
doCheck = true;
postPatch = ''