mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-26 10:14:48 +00:00
python3Packages.thorlabspm100: use finalAttrs
This commit is contained in:
committed by
Yohann Boniface
parent
86fd8d0de2
commit
730499ee59
@@ -6,7 +6,7 @@
|
||||
setuptools-scm,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "thorlabspm100";
|
||||
version = "1.2.2";
|
||||
pyproject = true;
|
||||
@@ -14,7 +14,7 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "clade";
|
||||
repo = "ThorlabsPM100";
|
||||
rev = "v${version}";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-X4qEow6u4aE0sbFwZfK3YEso2RS0c9j4iaWJPHaPQV4=";
|
||||
};
|
||||
|
||||
@@ -30,4 +30,4 @@ buildPythonPackage rec {
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ fsagbuya ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user