Merge pull request #246785 from onny/pythonmpv2

python3Packages.mpv: 1.0.1 -> 1.0.4
This commit is contained in:
Mario Rodas
2023-08-06 11:08:08 -05:00
committed by GitHub
@@ -1,19 +1,27 @@
{ lib, stdenv, buildPythonPackage, fetchFromGitHub, python, isPy27
{ lib
, stdenv
, buildPythonPackage
, fetchFromGitHub
, mpv
, setuptools
}:
buildPythonPackage rec {
pname = "mpv";
version = "1.0.1";
disabled = isPy27;
version = "1.0.4";
format = "pyproject";
src = fetchFromGitHub {
owner = "jaseg";
repo = "python-mpv";
rev = "v${version}";
hash = "sha256-UCJ1PknnWQiFciTEMxTUqDzz0Z8HEWycLuQqYeyQhoM=";
hash = "sha256-qP5Biw4sTLioAhmMZX+Pemue2PWc3N7afAe38dwJv3U=";
};
nativeBuildInputs = [
setuptools
];
buildInputs = [ mpv ];
postPatch = ''
@@ -30,5 +38,6 @@ buildPythonPackage rec {
description = "A python interface to the mpv media player";
homepage = "https://github.com/jaseg/python-mpv";
license = licenses.agpl3Plus;
maintainers = with maintainers; [ onny ];
};
}