mirror of
https://github.com/tadeokondrak/vs-overlay
synced 2024-12-23 14:31:28 +01:00
rekt: 39 -> 1.0.0
This commit is contained in:
parent
ebc6d24917
commit
b6afee61c5
|
@ -1,40 +1,29 @@
|
||||||
{ lib, buildPythonPackage, fetchFromGitLab, vapoursynthPlugins, vapoursynth }:
|
{ lib, buildPythonPackage, setuptools, fetchFromGitHub, vapoursynthPlugins, vapoursynth }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "rekt";
|
pname = "rekt";
|
||||||
version = "39";
|
version = "1.0.0";
|
||||||
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitHub {
|
||||||
owner = "Ututu";
|
owner = "OpusGang";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "153863e07779219c48cf1223bfdba86c47bc43be";
|
rev = version;
|
||||||
sha256 = "1h83dqwn71pfqxx8hppbqc7i9mh0a2pbpydsm8jvf538z9nr2sl9";
|
sha256 = "sha256-SWu7W0DFoPLeTe4+aYQGUlaU0n63W3IB7Fdi71uqyzw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# This does not depend on vapoursynth (since this is used from within
|
propagatedBuildInputs = [
|
||||||
# vapoursynth).
|
setuptools
|
||||||
postPatch = ''
|
vapoursynthPlugins.vsutil
|
||||||
substituteInPlace setup.py \
|
|
||||||
--replace "install_requires=['vapoursynth', " "install_requires=["
|
|
||||||
'';
|
|
||||||
|
|
||||||
propagatedBuildInputs = with vapoursynthPlugins; [
|
|
||||||
vsutil
|
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [ vapoursynth ];
|
checkInputs = [ vapoursynth ];
|
||||||
checkPhase = ''
|
|
||||||
runHook preCheck
|
|
||||||
# This overrides the default setuptools checkPhase that detects tests (that
|
|
||||||
# don’t work) even though this package doesn’t have tests.
|
|
||||||
runHook postCheck
|
|
||||||
'';
|
|
||||||
pythonImportsCheck = [ "rekt" ];
|
pythonImportsCheck = [ "rekt" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "VapourSynth wrapper for Cropping and Stacking clips";
|
description = "VapourSynth wrapper for Cropping and Stacking clips";
|
||||||
homepage = "https://gitlab.com/Ututu/rekt";
|
homepage = "https://github.com/OpusGang/rekt";
|
||||||
license = licenses.unfree; # no license
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ sbruder ];
|
maintainers = with maintainers; [ sbruder ];
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue