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
83
pkgs/development/python-modules/lektor/default.nix
Normal file
83
pkgs/development/python-modules/lektor/default.nix
Normal file
|
|
@ -0,0 +1,83 @@
|
|||
{ lib
|
||||
, babel
|
||||
, buildPythonPackage
|
||||
, click
|
||||
, exifread
|
||||
, fetchFromGitHub
|
||||
, filetype
|
||||
, flask
|
||||
, inifile
|
||||
, jinja2
|
||||
, marshmallow
|
||||
, marshmallow-dataclass
|
||||
, mistune
|
||||
, pip
|
||||
, pyopenssl
|
||||
, pytest-click
|
||||
, pytest-mock
|
||||
, pytest-pylint
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, python-slugify
|
||||
, requests
|
||||
, setuptools
|
||||
, watchdog
|
||||
, werkzeug
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "lektor";
|
||||
version = "3.3.4";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lektor";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-9Zd+N6FkvRuW7rptWAr3JLIARXwJDcocxAp/ZCTQ3Hw=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
babel
|
||||
click
|
||||
exifread
|
||||
filetype
|
||||
flask
|
||||
inifile
|
||||
jinja2
|
||||
marshmallow
|
||||
marshmallow-dataclass
|
||||
mistune
|
||||
pip
|
||||
pyopenssl
|
||||
python-slugify
|
||||
requests
|
||||
setuptools
|
||||
watchdog
|
||||
werkzeug
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytest-click
|
||||
pytest-mock
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"lektor"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# Test requires network access
|
||||
"test_path_installed_plugin_is_none"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A static content management system";
|
||||
homepage = "https://www.getlektor.com/";
|
||||
license = licenses.bsd0;
|
||||
maintainers = with maintainers; [ costrouc ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue