autorandr: 1.13.3 -> 1.14
This commit is contained in:
parent
ab7b093937
commit
a6a17138c1
1 changed files with 11 additions and 11 deletions
|
@ -1,19 +1,26 @@
|
|||
{ lib
|
||||
, python3
|
||||
, python3Packages
|
||||
, fetchFromGitHub
|
||||
, systemd
|
||||
, xrandr
|
||||
, installShellFiles
|
||||
, desktop-file-utils }:
|
||||
, desktop-file-utils
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "autorandr";
|
||||
version = "1.13.3";
|
||||
version = "1.14";
|
||||
format = "other";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "phillipberndt";
|
||||
repo = "autorandr";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-Ru3nQF0DB98rKSew6QtxAZQEB/9nVlIelNX3M7bNYHk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ installShellFiles desktop-file-utils ];
|
||||
propagatedBuildInputs = [ python3Packages.packaging ];
|
||||
propagatedBuildInputs = with python3.pkgs; [ packaging ];
|
||||
|
||||
buildPhase = ''
|
||||
substituteInPlace autorandr.py \
|
||||
|
@ -56,13 +63,6 @@ python3.pkgs.buildPythonApplication rec {
|
|||
runHook postInstall
|
||||
'';
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "phillipberndt";
|
||||
repo = "autorandr";
|
||||
rev = "refs/tags/${version}";
|
||||
sha256 = "sha256-3zWYOOVYpj+s7VKagnbI55MNshM5WtbCFD6q9tRCzes=";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/phillipberndt/autorandr/";
|
||||
description = "Automatically select a display configuration based on connected devices";
|
||||
|
|
Loading…
Reference in a new issue