lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

python3Packages.ev3dev2: init at 2.1.0

+39
+37
pkgs/development/python-modules/ev3dev2/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , python 5 + , pillow 6 + }: 7 + 8 + buildPythonPackage rec { 9 + pname = "ev3dev2"; 10 + version = "2.1.0"; 11 + 12 + src = fetchFromGitHub { 13 + owner = "ev3dev"; 14 + repo = "ev3dev-lang-python"; 15 + rev = version; 16 + sha256 = "XxsiQs3k5xKb+3RewARbvBbxaztdvdq3w5ZMgTq+kRc="; 17 + fetchSubmodules = true; 18 + }; 19 + 20 + postPatch = '' 21 + echo "${version}\n" > RELEASE-VERSION 22 + ''; 23 + 24 + propagatedBuildInputs = [ pillow ]; 25 + 26 + checkPhase = '' 27 + chmod -R g+rw ./tests/fake-sys/devices/**/* 28 + ${python.interpreter} -W ignore::ResourceWarning tests/api_tests.py 29 + ''; 30 + 31 + meta = with lib; { 32 + description = "Python language bindings for ev3dev"; 33 + homepage = "https://github.com/ev3dev/ev3dev-lang-python"; 34 + license = with licenses; [ mit ]; 35 + maintainers = with maintainers; [ angustrau ]; 36 + }; 37 + }
+2
pkgs/top-level/python-packages.nix
··· 2355 2355 2356 2356 et_xmlfile = callPackage ../development/python-modules/et_xmlfile { }; 2357 2357 2358 + ev3dev2 = callPackage ../development/python-modules/ev3dev2 { }; 2359 + 2358 2360 evdev = callPackage ../development/python-modules/evdev { }; 2359 2361 2360 2362 eve = callPackage ../development/python-modules/eve { };