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/pyphen/default.nix
Normal file
36
pkgs/development/python-modules/pyphen/default.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, flit
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyphen";
|
||||
version = "0.12.0";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "b7d3dfc24b6f2178cdb2b1757ace0bd5d222de3e62c28d22ac578c5f22a13e9b";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
flit
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
sed -i '/addopts/d' pyproject.toml
|
||||
'';
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Pure Python module to hyphenate text";
|
||||
homepage = "https://github.com/Kozea/Pyphen";
|
||||
license = with licenses; [gpl2 lgpl21 mpl20];
|
||||
maintainers = with maintainers; [ rvl ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue