mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
vkbasalt-cli: init at 3.1.1
This commit is contained in:
parent
f2521e084d
commit
d6fe5fdad2
31
pkgs/tools/graphics/vkbasalt-cli/default.nix
Normal file
31
pkgs/tools/graphics/vkbasalt-cli/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user