chore: improve Nix flake

This commit is contained in:
Marc Plano-Lesay 2025-08-01 11:35:27 +10:00
parent e9231986c3
commit 7836888456
Signed by: kernald
GPG key ID: 66A41B08CC62A6CF
6 changed files with 208 additions and 20 deletions

View file

@ -0,0 +1,20 @@
{ python3Packages, fetchPypi, ... }:
python3Packages.buildPythonApplication rec {
pname = "conventional_pre_commit";
version = "4.2.0";
src = fetchPypi {
inherit pname version;
hash = "sha256-a1ooZzOMWKHRTTAN5otWwXt8hAO7EiFV84Y5pCPSH/E=";
};
doCheck = false;
pyproject = true;
build-system = with python3Packages; [
setuptools
setuptools-scm
wheel
];
}