biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / applications / video / obs-studio / plugins / obs-composite-blur.nix
blob16b4b2c34fbf602e9f3424b29b6e4683b6737445
1 { lib
2 , stdenv
3 , fetchFromGitHub
4 , obs-studio
5 , cmake
6 }:
8 stdenv.mkDerivation rec {
9   pname = "obs-composite-blur";
10   version = "1.1.0";
12   src = fetchFromGitHub {
13     owner = "FiniteSingularity";
14     repo = "obs-composite-blur";
15     rev = "refs/tags/v${version}";
16     hash = "sha256-icn0X+c7Uf0nTFaVDVTPi26sfWTSeoAj7+guEn9gi9Y=";
17   };
19   buildInputs = [
20     obs-studio
21   ];
23   nativeBuildInputs = [
24     cmake
25   ];
27   postInstall = ''
28     rm -rf "$out/share"
29     mkdir -p "$out/share/obs"
30     mv "$out/data/obs-plugins" "$out/share/obs"
31     rm -rf "$out/obs-plugins" "$out/data"
32   '';
34   meta = with lib; {
35     description = "Comprehensive blur plugin for OBS that provides several different blur algorithms, and proper compositing";
36     homepage = "https://github.com/FiniteSingularity/obs-composite-blur";
37     license = licenses.gpl2Only;
38     maintainers = with maintainers; [ GaetanLepage ];
39     mainProgram = "obs-composite-blur";
40     platforms = platforms.linux;
41   };