cosmic-icons: use nix-update-script instead of unstableGitUpdater (#349303)
This commit is contained in:
commit
af46925fa2
@ -1,18 +1,19 @@
|
||||
{ lib
|
||||
, stdenvNoCC
|
||||
, fetchFromGitHub
|
||||
, just
|
||||
, pop-icon-theme
|
||||
, hicolor-icon-theme
|
||||
, unstableGitUpdater
|
||||
{
|
||||
lib,
|
||||
stdenvNoCC,
|
||||
fetchFromGitHub,
|
||||
just,
|
||||
pop-icon-theme,
|
||||
hicolor-icon-theme,
|
||||
nix-update-script,
|
||||
}:
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
stdenvNoCC.mkDerivation {
|
||||
pname = "cosmic-icons";
|
||||
version = "1.0.0-alpha.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pop-os";
|
||||
repo = pname;
|
||||
repo = "cosmic-icons";
|
||||
rev = "341c84467fd863f0319cadf49b3d4bac1bf3029a";
|
||||
hash = "sha256-VA2QKuzTQBgubfjPXdpejFtZxqOZUXds/fZrfN6/8Nk=";
|
||||
};
|
||||
@ -32,7 +33,12 @@ stdenvNoCC.mkDerivation rec {
|
||||
|
||||
dontDropIconThemeCache = true;
|
||||
|
||||
passthru.updateScript = unstableGitUpdater { };
|
||||
passthru.updateScript = nix-update-script {
|
||||
extraArgs = [
|
||||
"--version-regex"
|
||||
"epoch-(.*)"
|
||||
];
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "System76 Cosmic icon theme for Linux";
|
||||
|
Loading…
Reference in New Issue
Block a user