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
34
pkgs/development/python-modules/expecttest/default.nix
Normal file
34
pkgs/development/python-modules/expecttest/default.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{ buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, hypothesis
|
||||
, lib
|
||||
, poetry
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "expecttest";
|
||||
version = "0.1.3";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ezyang";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-5CnpVFSbf3FcAa06Y7atG8sxu8uevpfrliB2HuVcrx0=";
|
||||
};
|
||||
|
||||
buildInputs = [ poetry ];
|
||||
|
||||
checkInputs = [ hypothesis pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "expecttest" ];
|
||||
|
||||
meta = {
|
||||
maintainers = [ lib.maintainers.SomeoneSerge ];
|
||||
license = lib.licenses.mit;
|
||||
description = ''EZ Yang "golden" tests (testing against a reference implementation)'';
|
||||
homepage = "https://github.com/ezyang/expecttest";
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue