bikeshed: init at 3.4.3
This commit is contained in:
parent
f23cb42acf
commit
e54be9a138
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.4.3";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "sha256-vJW4yNbKCZraJ5vx8FheNsBl+zObGoLFgAVqoU0p9QQ=";
|
||||||
|
};
|
||||||
|
|
||||||
|
# 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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -1071,6 +1071,8 @@ with pkgs;
|
||||||
|
|
||||||
cf-vault = callPackage ../tools/admin/cf-vault { };
|
cf-vault = callPackage ../tools/admin/cf-vault { };
|
||||||
|
|
||||||
|
bikeshed = python3Packages.callPackage ../applications/misc/bikeshed { };
|
||||||
|
|
||||||
cope = callPackage ../tools/misc/cope { };
|
cope = callPackage ../tools/misc/cope { };
|
||||||
|
|
||||||
ejson2env = callPackage ../tools/admin/ejson2env { };
|
ejson2env = callPackage ../tools/admin/ejson2env { };
|
||||||
|
|
Loading…
Reference in a new issue