Skip to content

Commit

Permalink
tocpdf: 0.3.3 -> 0.3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
dansbandit committed Oct 12, 2024
1 parent 08c122a commit 8448956
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions pkgs/by-name/to/tocpdf/package.nix
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
{
lib,
python3Packages,
fetchPypi,
fetchFromGitHub,
}:

python3Packages.buildPythonApplication rec {
pname = "tocpdf";
version = "0.3.3";
version = "0.3.9";
pyproject = true;

src = fetchPypi {
pname = "tocPDF";
inherit version;
hash = "sha256-B+UcvyjWceVErf1uDyGGTGwKBCGHmSOF19Vbk15cPp8=";
src = fetchFromGitHub {
owner = "kszenes";
repo = "tocPDF";
rev = "v${version}";
hash = "sha256-RaNMhEgJ2pSL9BvK1d2Z8AsUPhARaRtEiCnt/2E2uNs=";
};

build-system = with python3Packages; [
Expand All @@ -27,8 +28,11 @@ python3Packages.buildPythonApplication rec {
tqdm
];

# no test
doCheck = false;
optional-dependencies = with python3Packages; {
dev = [
pytest
];
};

pythonImportsCheck = [ "tocPDF" ];

Expand Down

0 comments on commit 8448956

Please sign in to comment.