refactor: custom packages
This commit is contained in:
@@ -12,7 +12,7 @@ stdenvNoCC.mkDerivation {
|
|||||||
owner = "witalihirsch";
|
owner = "witalihirsch";
|
||||||
repo = "Mono-gtk-theme";
|
repo = "Mono-gtk-theme";
|
||||||
rev = "89fa83a14b4e26c5b8fc4dbfa5558a7df704d5a4";
|
rev = "89fa83a14b4e26c5b8fc4dbfa5558a7df704d5a4";
|
||||||
sha256 = "sha256-NaZgOOo5VVTlEand3qWryZ5ceNmyHaEt0aeT7j/KwvE=";
|
hash = "sha256-NaZgOOo5VVTlEand3qWryZ5ceNmyHaEt0aeT7j/KwvE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
phases = [
|
phases = [
|
||||||
|
|||||||
@@ -2,12 +2,12 @@
|
|||||||
stdenvNoCC,
|
stdenvNoCC,
|
||||||
fetchurl,
|
fetchurl,
|
||||||
}:
|
}:
|
||||||
stdenvNoCC.mkDerivation rec {
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||||
pname = "wps-office-fonts";
|
pname = "wps-office-fonts";
|
||||||
version = "1.0";
|
version = "1.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/Universebenzene/wps-office-fonts/archive/refs/tags/v${version}.tar.gz";
|
url = "https://github.com/Universebenzene/wps-office-fonts/archive/refs/tags/v${finalAttrs.version}.tar.gz";
|
||||||
sha256 = "db01fc07324115b181cb06f50dfe09fd17feee132c46423ee70b260830211224";
|
sha256 = "db01fc07324115b181cb06f50dfe09fd17feee132c46423ee70b260830211224";
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -29,4 +29,4 @@ stdenvNoCC.mkDerivation rec {
|
|||||||
description = "The wps-office-fonts package contains Founder Chinese fonts";
|
description = "The wps-office-fonts package contains Founder Chinese fonts";
|
||||||
homepage = "https://github.com/Universebenzene/wps-office-fonts";
|
homepage = "https://github.com/Universebenzene/wps-office-fonts";
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user