diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2021-06-02 23:32:11 +0200 |
---|---|---|
committer | Jonathan Ringer <jonringer117@gmail.com> | 2021-06-21 16:48:39 -0700 |
commit | 1d623ad0180bb997445ebb1dd177ef591623fb34 (patch) | |
tree | 3537ec60e6cfe89a569fee3c60a835473585aa47 /pkgs/development/python-modules/click | |
parent | d8def3a0abbfcb343afb8efe2fdf1786331ab4b8 (diff) | |
download | nixpkgs-1d623ad0180bb997445ebb1dd177ef591623fb34.tar nixpkgs-1d623ad0180bb997445ebb1dd177ef591623fb34.tar.gz nixpkgs-1d623ad0180bb997445ebb1dd177ef591623fb34.tar.bz2 nixpkgs-1d623ad0180bb997445ebb1dd177ef591623fb34.tar.lz nixpkgs-1d623ad0180bb997445ebb1dd177ef591623fb34.tar.xz nixpkgs-1d623ad0180bb997445ebb1dd177ef591623fb34.tar.zst nixpkgs-1d623ad0180bb997445ebb1dd177ef591623fb34.zip |
python2Packages.click. reinit at 7.1.2
Diffstat (limited to 'pkgs/development/python-modules/click')
-rw-r--r-- | pkgs/development/python-modules/click/7.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/click/7.nix b/pkgs/development/python-modules/click/7.nix new file mode 100644 index 00000000000..fcbd4d0981a --- /dev/null +++ b/pkgs/development/python-modules/click/7.nix @@ -0,0 +1,28 @@ +{ lib, buildPythonPackage, fetchPypi, locale, pytestCheckHook }: + +buildPythonPackage rec { + pname = "click"; + version = "7.1.2"; + + src = fetchPypi { + inherit pname version; + sha256 = "d2b5255c7c6349bc1bd1e59e08cd12acbbd63ce649f2588755783aa94dfb6b1a"; + }; + + postPatch = '' + substituteInPlace src/click/_unicodefun.py \ + --replace "'locale'" "'${locale}/bin/locale'" + ''; + + checkInputs = [ pytestCheckHook ]; + + meta = with lib; { + homepage = "https://click.palletsprojects.com/"; + description = "Create beautiful command line interfaces in Python"; + longDescription = '' + A Python package for creating beautiful command line interfaces in a + composable way, with as little code as necessary. + ''; + license = licenses.bsd3; + }; +} |