vkbasalt-cli: init at 3.1.1

This commit is contained in:
Martino Fontana 2022-11-21 23:04:34 +01:00
parent f2521e084d
commit d6fe5fdad2
2 changed files with 33 additions and 0 deletions

View File

@ -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 ];
};
}

View File

@ -12653,6 +12653,8 @@ with pkgs;
vkbasalt32 = pkgsi686Linux.vkbasalt;
};
vkbasalt-cli = callPackage ../tools/graphics/vkbasalt-cli { };
vkmark = callPackage ../tools/graphics/vkmark { };
vncrec = callPackage ../tools/video/vncrec { };