lib3mf: modernize
This commit is contained in:
parent
49b9448e9c
commit
acf3715ac7
@ -16,14 +16,14 @@
|
|||||||
nix-update-script,
|
nix-update-script,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "lib3mf";
|
pname = "lib3mf";
|
||||||
version = "2.4.1";
|
version = "2.4.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "3MFConsortium";
|
owner = "3MFConsortium";
|
||||||
repo = "lib3mf";
|
repo = "lib3mf";
|
||||||
tag = "v${version}";
|
tag = "v${finalAttrs.version}";
|
||||||
hash = "sha256-wq/dT/8m+em/qFoNNj6s5lyx/MgNeEBGSMBpuJiORqA=";
|
hash = "sha256-wq/dT/8m+em/qFoNNj6s5lyx/MgNeEBGSMBpuJiORqA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -99,10 +99,11 @@ stdenv.mkDerivation rec {
|
|||||||
passthru.updateScript = nix-update-script { };
|
passthru.updateScript = nix-update-script { };
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
changelog = "https://github.com/3MFConsortium/lib3mf/releases/tag/${finalAttrs.src.tag}";
|
||||||
description = "Reference implementation of the 3D Manufacturing Format file standard";
|
description = "Reference implementation of the 3D Manufacturing Format file standard";
|
||||||
homepage = "https://3mf.io/";
|
homepage = "https://3mf.io/";
|
||||||
license = licenses.bsd2;
|
license = licenses.bsd2;
|
||||||
maintainers = with maintainers; [ ];
|
maintainers = with maintainers; [ ];
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user