uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
36
pkgs/development/python-modules/pypdf3/default.nix
Normal file
36
pkgs/development/python-modules/pypdf3/default.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, glibcLocales
|
||||
, python
|
||||
, tqdm
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pypdf3";
|
||||
version = "1.0.6";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "PyPDF3";
|
||||
inherit version;
|
||||
sha256 = "sha256-yUbzJzQZ43JY415yJz9JkEqxVyPYenYcERXvmXmfjF8=";
|
||||
};
|
||||
|
||||
LC_ALL = "en_US.UTF-8";
|
||||
buildInputs = [ glibcLocales ];
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} -m unittest tests/*.py
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
tqdm
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Pure-Python library built as a PDF toolkit";
|
||||
homepage = "https://github.com/sfneal/PyPDF3";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ ambroisie ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue