Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: b231ac2101b1
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 512a85d334ea
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Apr 22, 2020

  1. pythonPackages.pylatexenc: 2.1 -> 2.2

    drewrisinger authored and Jon committed Apr 22, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    lsix lsix
    Copy the full SHA
    512a85d View commit details
Showing with 7 additions and 9 deletions.
  1. +7 −9 pkgs/development/python-modules/pylatexenc/default.nix
16 changes: 7 additions & 9 deletions pkgs/development/python-modules/pylatexenc/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};