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
|
|
@ -0,0 +1,31 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, markdown,
|
||||
pytest, pytest-runner, pytest-cov, coverage }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "MarkdownSuperscript";
|
||||
version = "2.1.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "2c255b5959c1f5dd364ae80762bd0a568a0fcc9fd4e4a3d7e7b192e88adf8900";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ markdown ];
|
||||
|
||||
postPatch = ''
|
||||
# remove version bounds for Markdown dependency
|
||||
sed 's/\["Markdown.*"\]/["Markdown"]/' -i setup.py
|
||||
|
||||
# remove version bounds for test dependencies
|
||||
sed 's/=.*//' -i requirements/*.txt
|
||||
'';
|
||||
|
||||
checkInputs = [ pytest pytest-runner pytest-cov coverage ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "An extension to the Python Markdown package enabling superscript text";
|
||||
homepage = "https://github.com/jambonrose/markdown_superscript_extension";
|
||||
license = licenses.bsd2;
|
||||
broken = true; # unmaintained in nixpkgs, barely maintained in pypi, added 2020-11-29
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue