mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-23 13:48:21 +03:00
pdfannots: init at 0.4
This commit is contained in:
parent
6ccd20914b
commit
728ee604dc
34
pkgs/by-name/pd/pdfannots/package.nix
Normal file
34
pkgs/by-name/pd/pdfannots/package.nix
Normal file
@ -0,0 +1,34 @@
|
||||
{ lib, python3, fetchFromGitHub }:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "pdfannots";
|
||||
version = "0.4";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "0xabu";
|
||||
repo = "pdfannots";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-C0Ss6kZvPx0hHnpBKquEolxeuTfjshhSBSIDXcCKtM8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
python3.pkgs.setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
python3.pkgs.pdfminer-six
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pdfannots"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Extracts and formats text annotations from a PDF file";
|
||||
homepage = "https://github.com/0xabu/pdfannots";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.marsam ];
|
||||
mainProgram = "pdfannots";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user