packages: extract material-wifi-icons

This commit is contained in:
Leonardo Eugênio 2024-06-11 01:08:21 -03:00
parent 8aa35f1368
commit dfde651cb9
5 changed files with 17 additions and 27 deletions

View file

@ -560,22 +560,6 @@
"type": "github" "type": "github"
} }
}, },
"material-wifi-icons": {
"flake": false,
"locked": {
"lastModified": 1703850449,
"narHash": "sha256-KykU5J7SdpBDG+6rkD//XeHd+6pK3qabe+88RduhwKc=",
"owner": "dcousens",
"repo": "material-wifi-icons",
"rev": "2daf6b3d96d65beb2a3e37a9a53556aab3826d97",
"type": "github"
},
"original": {
"owner": "dcousens",
"repo": "material-wifi-icons",
"type": "github"
}
},
"nix-index-database": { "nix-index-database": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -805,7 +789,6 @@
"home-manager": "home-manager_2", "home-manager": "home-manager_2",
"hyprland": "hyprland", "hyprland": "hyprland",
"lipsum": "lipsum", "lipsum": "lipsum",
"material-wifi-icons": "material-wifi-icons",
"nix-index-database": "nix-index-database", "nix-index-database": "nix-index-database",
"nix-software-center": "nix-software-center", "nix-software-center": "nix-software-center",
"nixos-conf-editor": "nixos-conf-editor", "nixos-conf-editor": "nixos-conf-editor",

View file

@ -18,9 +18,6 @@
ranger-icons.url = "github:alexanderjeurissen/ranger_devicons"; ranger-icons.url = "github:alexanderjeurissen/ranger_devicons";
ranger-icons.flake = false; ranger-icons.flake = false;
material-wifi-icons.url = "github:dcousens/material-wifi-icons";
material-wifi-icons.flake = false;
plymouth-themes.url = "github:adi1090x/plymouth-themes"; plymouth-themes.url = "github:adi1090x/plymouth-themes";
plymouth-themes.flake = false; plymouth-themes.flake = false;

View file

@ -15,13 +15,6 @@ rec {
themes = ( themes = (
final: prev: { final: prev: {
material-wifi-icons = final.stdenv.mkDerivation rec {
name = "material-wifi-icons";
src = inputs.material-wifi-icons;
installPhase = ''
install -D material-wifi.ttf $out/share/fonts/${name}
'';
};
papirus_red = (final.papirus-icon-theme.override { color = "red"; }); papirus_red = (final.papirus-icon-theme.override { color = "red"; });
orchis_theme_compact = ( orchis_theme_compact = (
final.orchis-theme.override { final.orchis-theme.override {

View file

@ -7,4 +7,5 @@
cargo-checkmate = pkgs.callPackage ./cargo-checkmate.nix { }; cargo-checkmate = pkgs.callPackage ./cargo-checkmate.nix { };
lipsum = pkgs.callPackage ./lipsum.nix { inherit inputs; }; lipsum = pkgs.callPackage ./lipsum.nix { inherit inputs; };
emmet-cli = pkgs.callPackage ./emmet-cli.nix { }; emmet-cli = pkgs.callPackage ./emmet-cli.nix { };
material-wifi-icons = pkgs.callPackage ./material-wifi-icons.nix { };
} }

View file

@ -0,0 +1,16 @@
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "material-wifi-icons";
version = "0.0.1";
src = fetchFromGitHub {
owner = "dcousens";
repo = "material-wifi-icons";
rev = "2daf6b3d96d65beb2a3e37a9a53556aab3826d97";
hash = "sha256-KykU5J7SdpBDG+6rkD//XeHd+6pK3qabe+88RduhwKc=";
};
installPhase = ''
install -D material-wifi.ttf $out/share/fonts/${pname}
'';
}