Compare commits
No commits in common. "84e77322553f95dd6e44163239ea50dc0e311cf3" and "96154475bc97424a6e0d68ce337c619335b10cc3" have entirely different histories.
84e7732255
...
96154475bc
|
@ -60,6 +60,7 @@ in
|
|||
pythonOptions = {
|
||||
propagatedBuildInputs = [ artiq ];
|
||||
postPatch = ''
|
||||
ls
|
||||
substituteInPlace lda/hidapi.py \
|
||||
--replace "hidapi_lib_path = None"\
|
||||
"hidapi_lib_path = '${hidapi}/lib/libhidapi-libusb.so.0'"
|
||||
|
@ -104,34 +105,4 @@ in
|
|||
# no unit tests without hardware so do a simple smoke test
|
||||
checkPhase = "python -m hut2.aqctl_hut2 --version";
|
||||
};
|
||||
}) // rec {
|
||||
toptica-lasersdk = pkgs.python3Packages.buildPythonPackage rec {
|
||||
version = "2.0.0";
|
||||
name = "toptica-lasersdk-${version}";
|
||||
format = "wheel";
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://files.pythonhosted.org/packages/6b/e2/5c98407215884c2570453a78bc0d6f0bbe619f06593847ccd6a2f1d3fe59/toptica_lasersdk-2.0.0-py3-none-any.whl";
|
||||
sha256 = "1k5d9ah8qzp75hh63nh9l5dk808v9ybpmzlhrdc3sxmas3ajv8s7";
|
||||
};
|
||||
propagatedBuildInputs = [ pkgs.python3Packages.pyserial ];
|
||||
};
|
||||
toptica-lasersdk-artiq = pkgs.python3Packages.buildPythonPackage rec {
|
||||
version = "2.0.0";
|
||||
name = "toptica-lasersdk-artiq-${version}";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "quartiq";
|
||||
repo = "lasersdk-artiq";
|
||||
rev = "d38bb985e7ddffc9ac9d94fe136cac10947bfd72";
|
||||
sha256 = "03a09lc81l2l787yjm0xjpnjvs5x77ndmks3xxh25yyxdhsdf1fl";
|
||||
};
|
||||
postPatch = ''
|
||||
substituteInPlace lasersdk_artiq/aqctl_laser.py \
|
||||
--replace "toptica.lasersdk.async.client" \
|
||||
"toptica.lasersdk.asyncio.client"
|
||||
substituteInPlace lasersdk_artiq/test.py \
|
||||
--replace "toptica.lasersdk.async.client" \
|
||||
"toptica.lasersdk.asyncio.client"
|
||||
'';
|
||||
propagatedBuildInputs = [ toptica-lasersdk artiq ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue