mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-15 05:17:55 +00:00
horizon-eda: 2.5.0 -> 2.6.0
This commit is contained in:
parent
7bc85af0c5
commit
8f0fcdef8d
@ -1,4 +1,5 @@
|
||||
{ lib
|
||||
, cmake
|
||||
, cppzmq
|
||||
, curl
|
||||
, fetchFromGitHub
|
||||
@ -9,6 +10,8 @@
|
||||
, libgit2
|
||||
, librsvg
|
||||
, libuuid
|
||||
, meson
|
||||
, ninja
|
||||
, opencascade-occt_7_6
|
||||
, pkg-config
|
||||
, podofo
|
||||
@ -20,16 +23,19 @@ in
|
||||
# This base is used in horizon-eda and python3Packages.horizon-eda
|
||||
rec {
|
||||
pname = "horizon-eda";
|
||||
version = "2.5.0";
|
||||
version = "2.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "horizon-eda";
|
||||
repo = "horizon";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-UcjbDJR6shyETpanNkRoH8LF8r6gFjsyNHVSCMHKqS8=";
|
||||
hash = "sha256-0ikCR10r/WPb+H+Ut2GO6y4A/9bctJLanL/RR4r9GWs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
cmake
|
||||
pkg-config
|
||||
];
|
||||
|
||||
|
@ -33,13 +33,13 @@ buildPythonPackage {
|
||||
|
||||
nativeBuildInputs = base.nativeBuildInputs;
|
||||
|
||||
buildFlags = [ "pymodule" ];
|
||||
ninjaFlags = [ "horizon.so" ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/${python.sitePackages}
|
||||
cp build/horizon.so $out/${python.sitePackages}
|
||||
cp horizon.so $out/${python.sitePackages}
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user