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
27
pkgs/development/python-modules/mockito/default.nix
Normal file
27
pkgs/development/python-modules/mockito/default.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, isPy3k, funcsigs, pytest, numpy }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "1.3.0";
|
||||
pname = "mockito";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "5d41a5f6ec0b8fc32b6d796480d4849ee5fb0ac75d12f13862f1622684f5f578";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = lib.optionals (!isPy3k) [ funcsigs ];
|
||||
checkInputs = [ pytest numpy ];
|
||||
|
||||
# tests are no longer packaged in pypi tarball
|
||||
doCheck = false;
|
||||
checkPhase = ''
|
||||
pytest
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Spying framework";
|
||||
homepage = "https://github.com/kaste/mockito-python";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.marsam ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue