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:
commit
28ce39388c
1 changed files with 22 additions and 5 deletions
|
@ -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";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue