Merge pull request #160040 from shiryel/master
gdtoolkit: init at 3.3.1
This commit is contained in:
commit
d9b8da6664
@ -11096,6 +11096,16 @@
|
|||||||
github = "shikanime";
|
github = "shikanime";
|
||||||
githubId = 22115108;
|
githubId = 22115108;
|
||||||
};
|
};
|
||||||
|
shiryel = {
|
||||||
|
email = "contact@shiryel.com";
|
||||||
|
name = "Shiryel";
|
||||||
|
github = "shiryel";
|
||||||
|
githubId = 35617139;
|
||||||
|
keys = [{
|
||||||
|
longkeyid = "ed25519/0xC4041EA6B32633DE";
|
||||||
|
fingerprint = "AB63 4CD9 3322 BD42 6231 F764 C404 1EA6 B326 33DE";
|
||||||
|
}];
|
||||||
|
};
|
||||||
shlevy = {
|
shlevy = {
|
||||||
email = "shea@shealevy.com";
|
email = "shea@shealevy.com";
|
||||||
github = "shlevy";
|
github = "shlevy";
|
||||||
|
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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -3171,6 +3171,8 @@ in {
|
|||||||
|
|
||||||
gdown = callPackage ../development/python-modules/gdown { };
|
gdown = callPackage ../development/python-modules/gdown { };
|
||||||
|
|
||||||
|
gdtoolkit = callPackage ../development/python-modules/gdtoolkit { };
|
||||||
|
|
||||||
ge25519 = callPackage ../development/python-modules/ge25519 { };
|
ge25519 = callPackage ../development/python-modules/ge25519 { };
|
||||||
|
|
||||||
geant4 = toPythonModule (pkgs.geant4.override {
|
geant4 = toPythonModule (pkgs.geant4.override {
|
||||||
|
Loading…
Reference in New Issue
Block a user