forked from NixOS/nixpkgs
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdefault.nix
More file actions
45 lines (38 loc) · 950 Bytes
/
default.nix
File metadata and controls
45 lines (38 loc) · 950 Bytes
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
{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
hatch-vcs,
pydantic,
requests,
}:
buildPythonPackage rec {
pname = "atopile-easyeda2kicad";
version = "0.9.5";
pyproject = true;
src = fetchFromGitHub {
owner = "atopile";
repo = "easyeda2kicad.py";
tag = "v${version}";
hash = "sha256-TLGLNe/Lk2WpYMzmX2iK3S27/QRqTOdHqO8XIMZSda4=";
};
build-system = [
hatchling
hatch-vcs
];
dependencies = [
pydantic
requests
];
pythonImportsCheck = [ "easyeda2kicad" ];
doCheck = false; # no tests
meta = {
description = "Convert any LCSC components (including EasyEDA) to KiCad library";
homepage = "https://github.com/atopile/easyeda2kicad.py";
changelog = "https://github.com/atopile/easyeda2kicad.py/releases/tag/v${version}";
license = lib.licenses.agpl3Only;
maintainers = with lib.maintainers; [ sigmanificient ];
mainProgram = "easyeda2kicad";
};
}