http-prompt: fix build
I don't really understand why this works: - Building with python3 because python2 fails with "error: invalid command 'bdist_wheel'". - Specifying the path to prompt_toolkit v1 because otherwise the dependency resolution fails with "ERROR: Could not find a version that satisfies the requirement prompt-toolkit<2.0.0,>=1.0.0 (from http-prompt==1.0.0) (from versions: none) ERROR: No matching distribution found for prompt-toolkit<2.0.0,>=1.0.0 (from http-prompt==1.0.0)".
This commit is contained in:
parent
dafbcb986a
commit
0e283d6a2d
@ -1,6 +1,6 @@
|
||||
{ stdenv, fetchFromGitHub, pythonPackages, httpie }:
|
||||
{ stdenv, fetchFromGitHub, python3Packages, httpie }:
|
||||
|
||||
pythonPackages.buildPythonApplication rec {
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "http-prompt";
|
||||
version = "1.0.0";
|
||||
|
||||
@ -11,11 +11,11 @@ pythonPackages.buildPythonApplication rec {
|
||||
sha256 = "0kngz2izcqjphbrdkg489p0xmf65xjc8ki1a2szcc8sgwc7z74xy";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with pythonPackages; [
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
click
|
||||
httpie
|
||||
parsimonious
|
||||
prompt_toolkit
|
||||
(python.pkgs.callPackage ../../../development/python-modules/prompt_toolkit/1.nix {})
|
||||
pygments
|
||||
six
|
||||
];
|
||||
@ -30,6 +30,5 @@ pythonPackages.buildPythonApplication rec {
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ matthiasbeyer ];
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
broken = true;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user