blob: 7fc5ec9f3c7746889bad491d4d06a6f7f7166eb3 (
plain) (
blame)
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
|
{ lib
, fetchFromGitHub
, rustPlatform
, go-md2man
, installShellFiles
}:
rustPlatform.buildRustPackage rec {
pname = "maker-panel";
version = "0.12.4";
src = fetchFromGitHub {
owner = "twitchyliquid64";
repo = "maker-panel";
rev = version;
sha256 = "0dlsy0c46781sb652kp80pvga7pzx6xla64axir92fcgg8k803bi";
};
cargoHash = "sha256-Ygya/9keRyIQyjrO6medtcXww9LMG3ne6I/8q35lJPo=";
cargoPatches = [ ./update-gerber-types-to-0.3.patch ];
nativeBuildInputs = [ go-md2man installShellFiles ];
postBuild = ''
go-md2man --in docs/spec-reference.md --out maker-panel.5
'';
postInstall = ''
installManPage maker-panel.5
'';
meta = with lib; {
description = "Make mechanical PCBs by combining shapes together";
homepage = "https://github.com/twitchyliquid64/maker-panel";
license = with licenses; [ mit ];
maintainers = with maintainers; [ ];
};
}
|