mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 18:19:09 +00:00
auto-editor: 22w17a -> 22w22a
This commit is contained in:
parent
3a344e909e
commit
1c3ccc6d57
@ -1,33 +1,23 @@
|
|||||||
{ stdenv, lib, fetchFromGitHub, python310Packages }:
|
{ stdenv, lib, fetchFromGitHub, python310Packages }:
|
||||||
|
|
||||||
let
|
python310Packages.buildPythonApplication rec {
|
||||||
av = python310Packages.av.overrideAttrs (super: rec {
|
|
||||||
version = "9.2.0";
|
|
||||||
src = python310Packages.fetchPypi {
|
|
||||||
inherit version;
|
|
||||||
pname = super.pname;
|
|
||||||
sha256 = "sha256-8qfCJnJNf3dFs3a0WcUA2dF72NBHO36mv43bT3lXxp0=";
|
|
||||||
};
|
|
||||||
buildInputs = super.buildInputs ++ [ python310Packages.cython ];
|
|
||||||
pytestFlagsArray = super.pytestFlagsArray ++ [
|
|
||||||
"--deselect=tests/test_python_io.py::TestPythonIO::test_writing_to_custom_io_dash"
|
|
||||||
"--deselect=tests/test_python_io.py::TestPythonIO::test_writing_to_custom_io_image2"
|
|
||||||
];
|
|
||||||
});
|
|
||||||
in python310Packages.buildPythonApplication rec {
|
|
||||||
pname = "auto-editor";
|
pname = "auto-editor";
|
||||||
version = "22w17a";
|
version = "22w22a";
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "WyattBlue";
|
owner = "WyattBlue";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-zXKmmJk7QDeHFJemhabTNhcMfP+FdOvfqEkh7+Hs2z8=";
|
sha256 = "sha256-SSdiBLyijed4bRqI4Y4vJ4HetNTGQgDMnXmbLRNspL0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace ./setup.py --replace "pillow==9.1.1" "pillow==9.1.0"
|
||||||
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = with python310Packages;
|
propagatedBuildInputs = with python310Packages;
|
||||||
[ numpy yt-dlp pillow ] ++ [ av ];
|
[ numpy yt-dlp av pillow ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description =
|
description =
|
||||||
|
Loading…
Reference in New Issue
Block a user