material-icons: add update script
This commit is contained in:
parent
3a440b1186
commit
009036e6eb
|
@ -1,4 +1,4 @@
|
||||||
{ lib, stdenvNoCC, fetchFromGitHub }:
|
{ lib, stdenvNoCC, fetchFromGitHub, nix-update-script }:
|
||||||
|
|
||||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||||
pname = "material-icons";
|
pname = "material-icons";
|
||||||
|
@ -7,7 +7,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "google";
|
owner = "google";
|
||||||
repo = "material-design-icons";
|
repo = "material-design-icons";
|
||||||
rev = version;
|
rev = finalAttrs.version;
|
||||||
hash = "sha256-wX7UejIYUxXOnrH2WZYku9ljv4ZAlvgk8EEJJHOCCjE=";
|
hash = "sha256-wX7UejIYUxXOnrH2WZYku9ljv4ZAlvgk8EEJJHOCCjE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -26,6 +26,8 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru.updateScript = nix-update-script { };
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "System status icons by Google, featuring material design";
|
description = "System status icons by Google, featuring material design";
|
||||||
homepage = "https://material.io/icons";
|
homepage = "https://material.io/icons";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user