nixpkgs/pkgs/tools/graphics/vkbasalt-cli/default.nix
Jörg Thalheim 5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00

33 lines
718 B
Nix

{ lib
, python3Packages
, fetchFromGitLab
, vkbasalt
}:
python3Packages.buildPythonApplication rec {
pname = "vkbasalt-cli";
version = "3.1.1";
src = fetchFromGitLab {
owner = "TheEvilSkeleton";
repo = pname;
rev = "v${version}";
hash = "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 = [ ];
mainProgram = "vkbasalt";
};
}