python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / misc / maker-panel / default.nix
blob96c4d6ad61c6a8ace33e7f9053add71f68cea930
1 { lib
2 , fetchFromGitHub
3 , rustPlatform
4 , go-md2man
5 , installShellFiles
6 }:
8 rustPlatform.buildRustPackage rec {
9   pname = "maker-panel";
10   version = "0.12.4";
12   src = fetchFromGitHub {
13     owner = "twitchyliquid64";
14     repo = "maker-panel";
15     rev = version;
16     sha256 = "0dlsy0c46781sb652kp80pvga7pzx6xla64axir92fcgg8k803bi";
17   };
19   cargoSha256 = "1ar62dn0khlbm47chakrsrxd1y76gpq0sql4g9j7dqqrvkavgd7w";
21   nativeBuildInputs = [ go-md2man installShellFiles ];
23   postBuild = ''
24     go-md2man --in docs/spec-reference.md --out maker-panel.5
25   '';
27   postInstall = ''
28     installManPage maker-panel.5
29   '';
31   meta = with lib; {
32     description = "Make mechanical PCBs by combining shapes together.";
33     homepage = "https://github.com/twitchyliquid64/maker-panel";
34     license = with licenses; [ mit ];
35     maintainers = with maintainers; [ twitchyliquid64 ];
36   };