diff options
author | Martino Fontana <tinozzo123@tutanota.com> | 2022-11-21 23:04:34 +0100 |
---|---|---|
committer | Martino Fontana <tinozzo123@tutanota.com> | 2022-12-08 19:36:52 +0100 |
commit | d6fe5fdad27c3c1fb5dcfdb6f4020a9682472b8e (patch) | |
tree | ed1ed83e7cf47e802a7909503ea4154bca2fac3c /pkgs/tools | |
parent | f2521e084d72414554d33e33176a86326b41d6ea (diff) |
vkbasalt-cli: init at 3.1.1
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/graphics/vkbasalt-cli/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/tools/graphics/vkbasalt-cli/default.nix b/pkgs/tools/graphics/vkbasalt-cli/default.nix new file mode 100644 index 0000000000000..0d54f695e9af6 --- /dev/null +++ b/pkgs/tools/graphics/vkbasalt-cli/default.nix @@ -0,0 +1,31 @@ +{ lib +, python3Packages +, fetchFromGitLab +, vkbasalt +}: + +python3Packages.buildPythonApplication rec { + pname = "vkbasalt-cli"; + version = "3.1.1"; + + src = fetchFromGitLab { + owner = "TheEvilSkeleton"; + repo = pname; + rev = "v${version}"; + sha256 = "sha256-4MFqndnvwAsqyer9kMNuCZFP/Xdl7W//AyCe7n83328="; + }; + + postPatch = '' + substituteInPlace vkbasalt/lib.py \ + --replace /usr ${vkbasalt} + ''; + + pythonImportsCheck = [ "vkbasalt.lib" ]; + + meta = with lib; { + description = "Command-line utility for vkBasalt"; + homepage = "https://gitlab.com/TheEvilSkeleton/vkbasalt-cli"; + license = with licenses; [ lgpl3Only gpl3Only ]; + maintainers = with maintainers; [ martfont ]; + }; +} |