chore: improve Nix flake
This commit is contained in:
parent
e9231986c3
commit
7836888456
6 changed files with 208 additions and 20 deletions
20
nix/pkgs/conventional-pre-commit.nix
Normal file
20
nix/pkgs/conventional-pre-commit.nix
Normal 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
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue