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
36
pkgs/development/tools/sourcetrail/jedi.nix
Normal file
36
pkgs/development/tools/sourcetrail/jedi.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
# Taken from a past commit of nixpkgs
|
||||
|
||||
{ lib, buildPythonPackage, fetchPypi, pytest, glibcLocales, tox, pytest-cov, parso }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "jedi";
|
||||
|
||||
# TODO: Remove this package when version incompatibility issue with
|
||||
# python3Packages.jedi is resolved.
|
||||
#
|
||||
# Upstream requirements:
|
||||
# https://github.com/CoatiSoftware/SourcetrailPythonIndexer#requirements
|
||||
version = "0.17.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "86ed7d9b750603e4ba582ea8edc678657fb4007894a12bcf6f4bb97892f31d20";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest glibcLocales tox pytest-cov ];
|
||||
|
||||
propagatedBuildInputs = [ parso ];
|
||||
|
||||
checkPhase = ''
|
||||
LC_ALL="en_US.UTF-8" py.test test
|
||||
'';
|
||||
|
||||
# tox required for tests: https://github.com/davidhalter/jedi/issues/808
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/davidhalter/jedi";
|
||||
description = "An autocompletion tool for Python that can be used for text editors";
|
||||
license = licenses.lgpl3Plus;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue