forked from NixOS/nixpkgs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefault.nix
More file actions
49 lines (40 loc) · 1.02 KB
/
default.nix
File metadata and controls
49 lines (40 loc) · 1.02 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
hatch-vcs,
hatchling,
# dependencies
tomlkit,
}:
buildPythonPackage (finalAttrs: {
pname = "hatch-min-requirements";
version = "0.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "tlambert03";
repo = "hatch-min-requirements";
tag = "v${finalAttrs.version}";
hash = "sha256-QKO5fVvjSqwY+48Fc8sAiZazrxZ4eBYxzVElHr2lcEA=";
};
build-system = [
hatchling
hatch-vcs
];
dependencies = [
tomlkit
];
# As of v0.1.0 all tests attempt to use the network
doCheck = false;
pythonImportsCheck = [ "hatch_min_requirements" ];
meta = {
description = "Hatchling plugin to create optional-dependencies pinned to minimum versions";
homepage = "https://github.com/tlambert03/hatch-min-requirements";
changelog = "https://github.com/tlambert03/hatch-min-requirements/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [
samuela
];
};
})