python3Packages.mpv: 1.0.1 -> 1.0.4

This commit is contained in:
Jonas Heinrich 2023-08-02 15:47:49 +02:00
parent 3338fc15d6
commit 076a0b1eeb

View file

@ -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 ];
};
}