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
···
lib,
buildPythonPackage,
fetchFromGitHub,
+
+
# dependencies
pyserial,
asyncserial,
jinja2,
migen,
+
+
# tests
numpy,
}:
buildPythonPackage {
pname = "misoc";
-
version = "0-unstable-2024-05-14";
+
version = "0.12-unstable-2024-05-14";
format = "setuptools";
src = fetchFromGitHub {
···
hash = "sha256-zZ9LnUwvTvBL9iNFfmNTklQnd0I4PmV0BApMSblTnc0=";
};
-
propagatedBuildInputs = [
+
dependencies = [
pyserial
asyncserial
jinja2