Merge pull request #155466 from rembo10/headphones-python3-update

This commit is contained in:
Sandro 2022-01-20 03:13:59 +01:00 committed by GitHub
commit e8a380a50c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,21 +1,20 @@
{ lib, fetchFromGitHub, python2, makeWrapper }:
{ lib, fetchFromGitHub, python3, makeWrapper }:
python2.pkgs.buildPythonApplication rec {
python3.pkgs.buildPythonApplication rec {
pname = "headphones";
version = "0.5.20";
version = "0.6.0-alpha.1";
src = fetchFromGitHub {
owner = "rembo10";
repo = "headphones";
rev = "v${version}";
sha256 = "0m234fr1i8bb8mgmjsdpkbaa3l16y23ca6s7nyyl5ismmjxhi4mz";
sha256 = "sha256-+mWtceQoHSMRkA8izZnKM0cgbt0P5Hr3arKOevpKvqc=";
};
dontBuild = true;
doCheck = false;
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ python2 ];
installPhase = ''
mkdir -p $out/bin $out/opt/headphones