python3Packages.microdata: use finalAttrs
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
unittestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "microdata";
|
||||
version = "0.8.0";
|
||||
format = "setuptools";
|
||||
@@ -14,7 +14,7 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "edsu";
|
||||
repo = "microdata";
|
||||
rev = "v${version}";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-BAygCLBLxZ033ZWRFSR52dSM2nPY8jXplDXQ8WW3KPo=";
|
||||
};
|
||||
|
||||
@@ -31,4 +31,4 @@ buildPythonPackage rec {
|
||||
license = lib.licenses.cc0;
|
||||
maintainers = with lib.maintainers; [ ambroisie ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user