diff options
author | Drew Risinger <drewrisinger@users.noreply.github.com> | 2020-04-21 08:35:35 -0400 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2020-04-21 20:23:17 -0700 |
commit | 512a85d334ea20186a1f150df3b4447bd0c3e7fa (patch) | |
tree | c9fe394dfa9b4cde5a16915dfbde0fd9bcc33b13 /pkgs/development/python-modules/pylatexenc | |
parent | b231ac2101b1d5289525ff60fdaa442680570740 (diff) | |
download | nixpkgs-512a85d334ea20186a1f150df3b4447bd0c3e7fa.tar nixpkgs-512a85d334ea20186a1f150df3b4447bd0c3e7fa.tar.gz nixpkgs-512a85d334ea20186a1f150df3b4447bd0c3e7fa.tar.bz2 nixpkgs-512a85d334ea20186a1f150df3b4447bd0c3e7fa.tar.lz nixpkgs-512a85d334ea20186a1f150df3b4447bd0c3e7fa.tar.xz nixpkgs-512a85d334ea20186a1f150df3b4447bd0c3e7fa.tar.zst nixpkgs-512a85d334ea20186a1f150df3b4447bd0c3e7fa.zip |
pythonPackages.pylatexenc: 2.1 -> 2.2
Diffstat (limited to 'pkgs/development/python-modules/pylatexenc')
-rw-r--r-- | pkgs/development/python-modules/pylatexenc/default.nix | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/pkgs/development/python-modules/pylatexenc/default.nix b/pkgs/development/python-modules/pylatexenc/default.nix index 146aed9a3ec..d4f14f3be01 100644 --- a/pkgs/development/python-modules/pylatexenc/default.nix +++ b/pkgs/development/python-modules/pylatexenc/default.nix @@ -1,30 +1,28 @@ { lib , buildPythonPackage , fetchFromGitHub -, pytest +, pytestCheckHook }: buildPythonPackage rec { pname = "pylatexenc"; - version = "2.1"; + version = "2.2"; src = fetchFromGitHub { owner = "phfaist"; - repo = pname; + repo = "pylatexenc"; rev = "v${version}"; - sha256 = "0wnl00y5dl56aw9j4y21kqapraaravbycwfxdmjsbgl11nk4llx9"; + sha256 = "0icwd7iipz3sv4jdh9iam7h4xslvdqg16rwsmczrna3mmjbwccdk"; }; pythonImportsCheck = [ "pylatexenc" ]; - checkInputs = [ pytest ]; - checkPhase = '' - pytest - ''; + dontUseSetuptoolsCheck = true; + checkInputs = [ pytestCheckHook ]; meta = with lib; { description = "Simple LaTeX parser providing latex-to-unicode and unicode-to-latex conversion"; homepage = "https://pylatexenc.readthedocs.io"; - downloadPage = "https;//www.github.com/phfaist/pylatexenc"; + downloadPage = "https://www.github.com/phfaist/pylatexenc/releases"; license = licenses.mit; maintainers = with maintainers; [ drewrisinger ]; }; |