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