packages.lumericalLicenseManager: init

This commit is contained in:
2025-03-21 08:28:43 +08:00
parent 6c51afdb65
commit 0176e39f16
3 changed files with 29 additions and 0 deletions

View File

@@ -57,4 +57,26 @@
finalImageName = "hagb/docker-easyconnec";
finalImageTag = "7.6.7";
};
lumerical =
{
crack = pkgs.requireFile
{
name = "crack";
sha256 = "1a1k3nlaidi0kk2xxamb4pm46iiz6k3sxynhd65y8riylrkck3md";
hashMode = "recursive";
};
licenseManager = pkgs.requireFile
{
name = "licenseManager";
sha256 = "1h93r0bb37279dzghi3k2axf0b8g0mgacw0lcww5j3sx0sqjbg4l";
hashMode = "recursive";
message = "";
};
lumerical = pkgs.requireFile
{
name = "lumerical";
sha256 = "03nfacykfzal29jdmygrgkl0fqsc3yqp4ig86h1h9sirci87k94c";
hashMode = "recursive";
};
};
}

View File

@@ -128,6 +128,8 @@ inputs: rec
info = inputs.pkgs.callPackage ./info { inherit biu; stdenv = inputs.pkgs.clang18Stdenv; };
blog = inputs.pkgs.callPackage inputs.topInputs.blog { inherit (inputs.topInputs) hextra; };
phono3py = inputs.pkgs.python3Packages.callPackage ./phono3py.nix { src = inputs.topInputs.phono3py; };
lumericalLicenseManager = inputs.pkgs.callPackage ./lumericalLicenseManager.nix
{ src = inputs.topInputs.self.src.lumerical.licenseManager; };
fromYaml = content: builtins.fromJSON (builtins.readFile
(inputs.pkgs.runCommand "toJSON" {}

View File

@@ -0,0 +1,5 @@
{ src, runCommand }: runCommand "lumericalLicenseManager" {}
''
mkdir -p $out
./${src}/INSTALL -silent -install_dir $out
''