python3Packages.misoc: modernize

- Make version attribute conform to Nixpkgs' rules.
- Use categories in inputs.

Changed files
+6 -2
pkgs
development
python-modules
misoc
+6 -2
pkgs/development/python-modules/misoc/default.nix
··· 2 2 lib, 3 3 buildPythonPackage, 4 4 fetchFromGitHub, 5 + 6 + # dependencies 5 7 pyserial, 6 8 asyncserial, 7 9 jinja2, 8 10 migen, 11 + 12 + # tests 9 13 numpy, 10 14 }: 11 15 12 16 buildPythonPackage { 13 17 pname = "misoc"; 14 - version = "0-unstable-2024-05-14"; 18 + version = "0.12-unstable-2024-05-14"; 15 19 format = "setuptools"; 16 20 17 21 src = fetchFromGitHub { ··· 21 25 hash = "sha256-zZ9LnUwvTvBL9iNFfmNTklQnd0I4PmV0BApMSblTnc0="; 22 26 }; 23 27 24 - propagatedBuildInputs = [ 28 + dependencies = [ 25 29 pyserial 26 30 asyncserial 27 31 jinja2