python3Packages.misoc: modernize

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

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