11 buildPythonPackage rec {
12 pname = "stm32loader";
16 inherit pname version;
17 sha256 = "0135qzxlrivvkq6wgkw7shfz94n755qs2c1754p1hc2jk0nqayrg";
20 propagatedBuildInputs = [ progress pyserial ];
22 checkInputs = [ pytest ] ++ lib.optional isPy27 mock;
25 pytest --strict tests/unit
29 description = "Flash firmware to STM32 microcontrollers in Python";
30 homepage = "https://github.com/florisla/stm32loader";
31 changelog = "https://github.com/florisla/stm32loader/blob/v${version}/CHANGELOG.md";
32 license = licenses.gpl3;
33 maintainers = with maintainers; [ emily ];