python312Packages.pueblo: 0.0.9 -> 0.0.10 (#361440)
[NixPkgs.git] / pkgs / by-name / vk / vkbasalt-cli / package.nix
blob855daf39ccee73c0bde559e16ca9c3797741b161
1 { lib
2 , python3Packages
3 , fetchFromGitLab
4 , vkbasalt
5 }:
7 python3Packages.buildPythonApplication rec {
8   pname = "vkbasalt-cli";
9   version = "3.1.1";
11   src = fetchFromGitLab {
12     owner = "TheEvilSkeleton";
13     repo = pname;
14     rev = "v${version}";
15     hash = "sha256-4MFqndnvwAsqyer9kMNuCZFP/Xdl7W//AyCe7n83328=";
16   };
18   postPatch = ''
19     substituteInPlace vkbasalt/lib.py \
20       --replace /usr ${vkbasalt}
21   '';
23   pythonImportsCheck = [ "vkbasalt.lib" ];
25   meta = with lib; {
26     description = "Command-line utility for vkBasalt";
27     homepage = "https://gitlab.com/TheEvilSkeleton/vkbasalt-cli";
28     license = with licenses; [ lgpl3Only gpl3Only ];
29     maintainers = [ ];
30     mainProgram = "vkbasalt";
31   };