ocamlPackages.get-activity-lib: migrate to finalAttrs
This commit is contained in:
@@ -13,14 +13,14 @@
|
||||
alcotest,
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
buildDunePackage (finalAttrs: {
|
||||
pname = "get-activity-lib";
|
||||
version = "2.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tarides";
|
||||
repo = "get-activity";
|
||||
rev = version;
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-QU/LPIxcem5nFvSxcNApOuBu6UHqLHIXVSOJ2UT0eKA=";
|
||||
};
|
||||
|
||||
@@ -48,7 +48,7 @@ buildDunePackage rec {
|
||||
homepage = "https://github.com/tarides/get-activity";
|
||||
description = "Collect activity and format as markdown for a journal (lib)";
|
||||
license = lib.licenses.mit;
|
||||
changelog = "https://github.com/tarides/get-activity/releases/tag/${version}";
|
||||
changelog = "https://github.com/tarides/get-activity/releases/tag/${finalAttrs.version}";
|
||||
maintainers = with lib.maintainers; [ zazedd ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user