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
46
pkgs/development/python-modules/gdtoolkit/default.nix
Normal file
46
pkgs/development/python-modules/gdtoolkit/default.nix
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, lark, docopt, pyyaml, setuptools }:
|
||||
|
||||
let lark080 = lark.overrideAttrs (old: rec {
|
||||
# gdtoolkit needs exactly this lark version
|
||||
version = "0.8.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "lark-parser";
|
||||
repo = "lark";
|
||||
rev = version;
|
||||
sha256 = "su7kToZ05OESwRCMPG6Z+XlFUvbEb3d8DgsTEcPJMg4=";
|
||||
};
|
||||
});
|
||||
|
||||
in
|
||||
buildPythonPackage rec {
|
||||
pname = "gdtoolkit";
|
||||
version = "3.3.1";
|
||||
|
||||
propagatedBuildInputs = [
|
||||
lark080
|
||||
docopt
|
||||
pyyaml
|
||||
setuptools
|
||||
];
|
||||
|
||||
# If we try to get using fetchPypi it requires GeoIP (but the package dont has that dep!?)
|
||||
src = fetchFromGitHub {
|
||||
owner = "Scony";
|
||||
repo = "godot-gdscript-toolkit";
|
||||
rev = version;
|
||||
sha256 = "13nnpwy550jf5qnm9ixpxl1bwfnhhbiys8vqfd25g3aim4bm3gnn";
|
||||
};
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
# Tests cannot be run because they need network to install additional dependencies using pip and tox
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "gdtoolkit" "gdtoolkit.formatter" "gdtoolkit.linter" "gdtoolkit.parser" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Independent set of tools for working with Godot's GDScript - parser, linter and formatter";
|
||||
homepage = "https://github.com/Scony/godot-gdscript-toolkit";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ shiryel ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue