mirror of
https://github.com/tadeokondrak/vs-overlay
synced 2024-12-22 14:01:30 +01:00
vapoursynthPlugins.adaptivegrain: init at 0.3.1
This commit is contained in:
parent
3c6a1242a6
commit
883ba6026e
|
@ -1,5 +1,6 @@
|
|||
self: super: {
|
||||
vapoursynthPlugins = super.recurseIntoAttrs {
|
||||
adaptivegrain = super.callPackage ./plugins/adaptivegrain { };
|
||||
addgrain = super.callPackage ./plugins/addgrain { };
|
||||
autocrop = super.callPackage ./plugins/autocrop { };
|
||||
awarpsharp2 = super.callPackage ./plugins/awarpsharp2 { };
|
||||
|
|
27
plugins/adaptivegrain/default.nix
Normal file
27
plugins/adaptivegrain/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ lib, fetchgit, rustPlatform }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "adaptivegrain";
|
||||
version = "0.3.1";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://git.kageru.moe/kageru/${pname}";
|
||||
rev = version;
|
||||
sha256 = "1sds08r7as23x7kgfa0w7sqkmzpc4xbccirxjwynybcm25ixpzb4";
|
||||
};
|
||||
|
||||
cargoSha256 = "1fy2n6afn7hxkwxf8l6jdakqpq97rn5dqav1bagzm2n40m37ldfk";
|
||||
|
||||
postInstall = ''
|
||||
mkdir $out/lib/vapoursynth
|
||||
mv $out/lib/libadaptivegrain_rs.so $out/lib/vapoursynth/libadaptivegrain_rs.so
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Reimplementation of the adaptive_grain mask as a Vapoursynth plugin";
|
||||
homepage = "https://git.kageru.moe/kageru/adaptivegrain";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ sbruder ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue