mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-10 06:04:14 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
67 lines
1.0 KiB
Nix
67 lines
1.0 KiB
Nix
{ lib
|
|
, cmake
|
|
, cppzmq
|
|
, curl
|
|
, fetchFromGitHub
|
|
, glm
|
|
, gtkmm3
|
|
, libarchive
|
|
, libepoxy
|
|
, libgit2
|
|
, librsvg
|
|
, libuuid
|
|
, meson
|
|
, ninja
|
|
, opencascade-occt_7_6
|
|
, pkg-config
|
|
, podofo
|
|
, sqlite
|
|
}:
|
|
let
|
|
opencascade-occt = opencascade-occt_7_6;
|
|
in
|
|
# This base is used in horizon-eda and python3Packages.horizon-eda
|
|
rec {
|
|
pname = "horizon-eda";
|
|
version = "2.6.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "horizon-eda";
|
|
repo = "horizon";
|
|
rev = "v${version}";
|
|
hash = "sha256-0ikCR10r/WPb+H+Ut2GO6y4A/9bctJLanL/RR4r9GWs=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
cmake
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
cppzmq
|
|
curl
|
|
glm
|
|
gtkmm3
|
|
libarchive
|
|
libepoxy
|
|
libgit2
|
|
librsvg
|
|
libuuid
|
|
opencascade-occt
|
|
podofo
|
|
sqlite
|
|
];
|
|
|
|
CASROOT = opencascade-occt;
|
|
|
|
meta = with lib; {
|
|
description = "Free EDA software to develop printed circuit boards";
|
|
homepage = "https://horizon-eda.org";
|
|
maintainers = with maintainers; [ guserav jue89 ];
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|