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
54
pkgs/development/python-modules/towncrier/default.nix
Normal file
54
pkgs/development/python-modules/towncrier/default.nix
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, isPy27
|
||||
, click
|
||||
, click-default-group
|
||||
, incremental
|
||||
, jinja2
|
||||
, mock
|
||||
, pytestCheckHook
|
||||
, toml
|
||||
, twisted
|
||||
, setuptools
|
||||
, git # shells out to git
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "towncrier";
|
||||
version = "21.9.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-nLb0XBbhoe7J0OdlEWXnvmDNCrgdE6XJbKl6SYrof0g=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
click
|
||||
click-default-group
|
||||
incremental
|
||||
jinja2
|
||||
toml
|
||||
setuptools
|
||||
];
|
||||
|
||||
# zope.interface collision
|
||||
doCheck = !isPy27;
|
||||
|
||||
preCheck = ''
|
||||
export PATH=$out/bin:$PATH
|
||||
'';
|
||||
|
||||
checkInputs = [
|
||||
git
|
||||
mock
|
||||
twisted
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "towncrier" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Utility to produce useful, summarised news files";
|
||||
homepage = "https://github.com/twisted/towncrier/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue