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
51
pkgs/development/python-modules/calmjs-parse/default.nix
Normal file
51
pkgs/development/python-modules/calmjs-parse/default.nix
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, setuptools
|
||||
, ply
|
||||
, python
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "calmjs-parse";
|
||||
version = "1.3.0";
|
||||
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "calmjs";
|
||||
repo = "calmjs.parse";
|
||||
rev = version;
|
||||
hash = "sha256-QhHNp9g88RhGHqRRjg4nk7aXjAgGCOauOagWJoJ3fqc=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
setuptools
|
||||
ply
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
|
||||
${python.interpreter} -m unittest calmjs.parse.tests.make_suite
|
||||
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"calmjs.parse"
|
||||
"calmjs.parse.asttypes"
|
||||
"calmjs.parse.parsers"
|
||||
"calmjs.parse.rules"
|
||||
"calmjs.parse.sourcemap"
|
||||
"calmjs.parse.unparsers.es5"
|
||||
"calmjs.parse.walkers"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Various parsers for ECMA standards";
|
||||
homepage = "https://github.com/calmjs/calmjs.parse";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue