mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 12:59:04 +02:00
python3Packages.mpv: 1.0.1 -> 1.0.4
This commit is contained in:
parent
3338fc15d6
commit
076a0b1eeb
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue