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
77
pkgs/applications/misc/bikeshed/default.nix
Normal file
77
pkgs/applications/misc/bikeshed/default.nix
Normal file
|
|
@ -0,0 +1,77 @@
|
|||
{ lib
|
||||
, buildPythonApplication
|
||||
, fetchPypi
|
||||
# build inputs
|
||||
, aiofiles
|
||||
, aiohttp
|
||||
, attrs
|
||||
, certifi
|
||||
, cssselect
|
||||
, html5lib
|
||||
, isodate
|
||||
, json-home-client
|
||||
, lxml
|
||||
, pillow
|
||||
, pygments
|
||||
, requests
|
||||
, result
|
||||
, setuptools
|
||||
, tenacity
|
||||
, widlparser
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "bikeshed";
|
||||
version = "3.5.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-fa9z/y4Enrei8gb48MSS7vzDcttZVO7MJkdEIaDZb0I=";
|
||||
};
|
||||
|
||||
# Relax requirements from "==" to ">="
|
||||
# https://github.com/tabatkins/bikeshed/issues/2178
|
||||
postPatch = ''
|
||||
substituteInPlace requirements.txt \
|
||||
--replace "==" ">="
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiofiles
|
||||
aiohttp
|
||||
attrs
|
||||
certifi
|
||||
cssselect
|
||||
html5lib
|
||||
isodate
|
||||
json-home-client
|
||||
lxml
|
||||
pillow
|
||||
pygments
|
||||
requests
|
||||
result
|
||||
setuptools
|
||||
tenacity
|
||||
widlparser
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
$out/bin/bikeshed test
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "bikeshed" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Preprocessor for anyone writing specifications that converts source files into actual specs";
|
||||
longDescription = ''
|
||||
Bikeshed is a pre-processor for spec documents, turning a source document
|
||||
(containing only the actual spec content, plus several shorthands for linking
|
||||
to terms and other things) into a final spec document, with appropriate boilerplate,
|
||||
bibliography, indexes, etc all filled in. It's used on specs for CSS
|
||||
and many other W3C working groups, WHATWG, the C++ standards committee, and elsewhere!
|
||||
'';
|
||||
homepage = "https://tabatkins.github.io/bikeshed/";
|
||||
license = licenses.cc0;
|
||||
maintainers = [ maintainers.kvark ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue