mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-30 03:39:59 +00:00
python3Packages.hakuin: add pyprojectVersionPatchHook (#549672)
This commit is contained in:
@@ -6,23 +6,28 @@
|
||||
hatchling,
|
||||
jinja2,
|
||||
nltk,
|
||||
pyprojectVersionPatchHook,
|
||||
sqlglot,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "hakuin";
|
||||
version = "0.2.2";
|
||||
pyproject = true;
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pruzko";
|
||||
repo = "hakuin";
|
||||
tag = version;
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-97nh+woUsCXcoO2i5KprCwJiE24V3mg91qcNgy7bpgg=";
|
||||
};
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
||||
nativeBuildInputs = [ pyprojectVersionPatchHook ];
|
||||
|
||||
dependencies = [
|
||||
aiohttp
|
||||
jinja2
|
||||
@@ -40,5 +45,6 @@ buildPythonPackage rec {
|
||||
homepage = "https://github.com/pruzko/hakuin";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
mainProgram = "hk";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user