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
26
pkgs/development/python-modules/jsonconversion/default.nix
Normal file
26
pkgs/development/python-modules/jsonconversion/default.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, numpy }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "jsonconversion";
|
||||
version = "0.2.13";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-4hMY0N/Px+g5zn3YzNfDWPyi8Pglvd/c2N9SeC4JoZ0=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py --replace "'pytest-runner'" ""
|
||||
'';
|
||||
|
||||
checkInputs = [ pytestCheckHook numpy ];
|
||||
|
||||
pythonImportsCheck = [ "jsonconversion" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "This python module helps converting arbitrary Python objects into JSON strings and back";
|
||||
homepage = "https://pypi.org/project/jsonconversion/";
|
||||
license = licenses.bsd2;
|
||||
maintainers = [ maintainers.terlar ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue