mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-24 13:05:08 +00:00
python310Packages.thorlabspm100: init at 1.2.2
This commit is contained in:
parent
465c18cf11
commit
067aec5589
38
pkgs/development/python-modules/thorlabspm100/default.nix
Normal file
38
pkgs/development/python-modules/thorlabspm100/default.nix
Normal file
@ -0,0 +1,38 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, unittestCheckHook
|
||||
, setuptools-scm
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "thorlabspm100";
|
||||
version = "1.2.2";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "clade";
|
||||
repo = "ThorlabsPM100";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-X4qEow6u4aE0sbFwZfK3YEso2RS0c9j4iaWJPHaPQV4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
unittestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"ThorlabsPM100"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Interface to the PM100A/D power meter from Thorlabs";
|
||||
homepage = "https://github.com/clade/ThorlabsPM100/";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ fsagbuya ];
|
||||
};
|
||||
}
|
@ -12244,6 +12244,8 @@ self: super: with self; {
|
||||
inherit (pkgs.darwin.apple_sdk.frameworks) Accelerate CoreFoundation CoreGraphics CoreVideo;
|
||||
};
|
||||
|
||||
thorlabspm100 = callPackage ../development/python-modules/thorlabspm100 { };
|
||||
|
||||
threadloop = callPackage ../development/python-modules/threadloop { };
|
||||
|
||||
threadpool = callPackage ../development/python-modules/threadpool { };
|
||||
|
Loading…
Reference in New Issue
Block a user