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
52
pkgs/development/python-modules/knack/default.nix
Normal file
52
pkgs/development/python-modules/knack/default.nix
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, argcomplete
|
||||
, colorama
|
||||
, jmespath
|
||||
, pygments
|
||||
, pyyaml
|
||||
, six
|
||||
, tabulate
|
||||
, mock
|
||||
, vcrpy
|
||||
, pytest
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "knack";
|
||||
version = "0.9.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "7fcab17585c0236885eaef311c01a1e626d84c982aabcac81703afda3f89c81f";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
argcomplete
|
||||
colorama
|
||||
jmespath
|
||||
pygments
|
||||
pyyaml
|
||||
six
|
||||
tabulate
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
mock
|
||||
vcrpy
|
||||
pytest
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
HOME=$TMPDIR pytest .
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/microsoft/knack";
|
||||
description = "A Command-Line Interface framework";
|
||||
platforms = platforms.all;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jonringer ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue