[BROKEN] awsmfunc: unstable-2021-01-26 -> 1.3.4

Addresses #19
This commit is contained in:
Aidan Gauland 2023-10-28 21:56:41 +13:00
parent 6a87dc2604
commit 17095f9856
No known key found for this signature in database
GPG key ID: 16E68DD2D0E77C91

View file

@ -1,4 +1,4 @@
{ lib, vapoursynthPlugins, buildPythonPackage, fetchgit, numpy, vapoursynth }: { lib, vapoursynthPlugins, buildPythonPackage, setuptools, fetchFromGitHub, numpy, vapoursynth }:
let let
propagatedBinaryPlugins = with vapoursynthPlugins; [ propagatedBinaryPlugins = with vapoursynthPlugins; [
descale descale
@ -9,23 +9,18 @@ let
in in
buildPythonPackage rec { buildPythonPackage rec {
pname = "awsmfunc"; pname = "awsmfunc";
version = "unstable-2021-01-26"; version = "1.3.4";
pyproject = true;
src = fetchgit { src = fetchFromGitHub {
url = "https://git.concertos.live/AHD/awsmfunc.git"; owner = "OpusGang";
rev = "e57ad6a976d059ffcf8ae59ee986bdbefef53cd0"; repo = pname;
sha256 = "0j2gzxcz3sy0h7r5a1dhl6xjgjd2m66mw4kfm8q2glar5b7gn0k7"; rev = version;
hash = "sha256-7J7s/SdnA5/A/q4SaBfIWG+qOwHpjSrUzWkY1r63wwc=";
}; };
# This does not depend on vapoursynth (since this is used from within
# vapoursynth).
postPatch = ''
substituteInPlace requirements.txt \
--replace "VapourSynth>=49" "" \
--replace "rekt@https://gitlab.com/Ututu/rekt/-/archive/3da2b2f2b2d670e635cef6dcc61f19c8fe10f1fa/rekt-3da2b2f2b2d670e635cef6dcc61f19c8fe10f1fa.zip" "rekt"
'';
propagatedBuildInputs = [ propagatedBuildInputs = [
setuptools
numpy numpy
] ++ (with vapoursynthPlugins; [ ] ++ (with vapoursynthPlugins; [
rekt rekt
@ -37,8 +32,8 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "A VapourSynth function collection"; description = "A VapourSynth function collection";
homepage = "https://git.concertos.live/AHD/awsmfunc"; homepage = "https://github.com/OpusGang/awsmfunc";
license = licenses.unfree; # no license license = licenses.mit;
maintainers = with maintainers; [ sbruder ]; maintainers = with maintainers; [ sbruder ];
platforms = platforms.all; platforms = platforms.all;
}; };