0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 06:00: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 { buildPythonPackage rec {
pname = "click-repl"; pname = "click-repl";
version = "0.2.0"; version = "0.2.0";
src = fetchPypi { src = fetchFromGitHub {
inherit pname version; owner = "click-contrib";
sha256 = "cd12f68d745bf6151210790540b4cb064c7b13e571bc64b6957d98d120dacfd8"; repo = "click-repl";
rev = version;
hash = "sha256-kaTUKaIomJL0u3NX40bL0I54vkR+Utcdw1QKSbnVy5s=";
}; };
propagatedBuildInputs = [ click prompt-toolkit ]; propagatedBuildInputs = [
click
prompt-toolkit
six
];
checkInputs = [
pytestCheckHook
];
meta = with lib; { meta = with lib; {
homepage = "https://github.com/click-contrib/click-repl"; homepage = "https://github.com/click-contrib/click-repl";