0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

Merge pull request #149943 from dotlambda/click-repl-fix

This commit is contained in:
Martin Weinelt 2021-12-10 00:44:43 +01:00 committed by GitHub
commit 28ce39388c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,15 +1,32 @@
{ lib, buildPythonPackage, fetchPypi, click, prompt-toolkit }:
{ lib
, buildPythonPackage
, fetchFromGitHub
, click
, prompt-toolkit
, six
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "click-repl";
version = "0.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "cd12f68d745bf6151210790540b4cb064c7b13e571bc64b6957d98d120dacfd8";
src = fetchFromGitHub {
owner = "click-contrib";
repo = "click-repl";
rev = version;
hash = "sha256-kaTUKaIomJL0u3NX40bL0I54vkR+Utcdw1QKSbnVy5s=";
};
propagatedBuildInputs = [ click prompt-toolkit ];
propagatedBuildInputs = [
click
prompt-toolkit
six
];
checkInputs = [
pytestCheckHook
];
meta = with lib; {
homepage = "https://github.com/click-contrib/click-repl";