blob: 79b3b5650d8d45d510463ac5750ab5633f5e6213 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
hatch-vcs,
}:
let
version = "1.0.0";
in
buildPythonPackage {
pname = "hatch-build-scripts";
inherit version;
pyproject = true;
src = fetchFromGitHub {
owner = "rmorshea";
repo = "hatch-build-scripts";
tag = "v${version}";
hash = "sha256-umqtfUGmmZ/j/E8JY+s6REmDeTYwbcE1jZ7w4nczazs=";
};
build-system = [ hatchling ];
dependencies = [ hatch-vcs ];
pythonImportsCheck = [ "hatch_build_scripts" ];
meta = {
description = "Plugin for Hatch that runs build scripts and saves their artifacts";
homepage = "https://github.com/rmorshea/hatch-build-scripts";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ kyehn ];
};
}
|