1{ lib, buildPythonPackage, fetchFromGitHub, python3Packages }:
2
3buildPythonPackage rec {
4 pname = "thinkpad-scripts";
5 version = "4.12.0";
6
7 src = fetchFromGitHub {
8 owner = "martin-ueding";
9 repo = "thinkpad-scripts";
10 rev = "v${version}";
11 sha256 = "08adx8r5pwwazbnfahay42l5f203mmvcn2ipz5hg8myqc9jxm2ky";
12 };
13
14 propagatedBuildInputs = with python3Packages; [ setuptools ];
15
16 meta = {
17 description = "Screen rotation, docking and other scripts for ThinkPad® X220 and X230 Tablet";
18 homepage = "https://github.com/martin-ueding/thinkpad-scripts";
19 license = lib.licenses.gpl2Plus;
20 maintainers = with lib.maintainers; [ dawidsowa ];
21 };
22}