gdtoolkit: init at 3.3.1
This commit is contained in:
parent
0ad9609412
commit
e94f50a044
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 ];
|
||||
};
|
||||
}
|
@ -3161,6 +3161,8 @@ in {
|
||||
|
||||
gdown = callPackage ../development/python-modules/gdown { };
|
||||
|
||||
gdtoolkit = callPackage ../development/python-modules/gdtoolkit { };
|
||||
|
||||
ge25519 = callPackage ../development/python-modules/ge25519 { };
|
||||
|
||||
geant4 = toPythonModule (pkgs.geant4.override {
|
||||
|
Loading…
Reference in New Issue
Block a user