replace "pkgs" arguments with individual packages
This commit is contained in:
parent
b32e181094
commit
428b2430ef
11 changed files with 35 additions and 39 deletions
|
@ -1,9 +1,9 @@
|
|||
{ pkgs ? import <nixpkgs> {} }:
|
||||
pkgs.stdenv.mkDerivation rec {
|
||||
{ stdenv, fetchzip, lib }:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "constructium";
|
||||
version = "2024-06-01";
|
||||
|
||||
src = pkgs.fetchzip {
|
||||
src = fetchzip {
|
||||
url = "https://github.com/kreativekorp/open-relay/releases/download" +
|
||||
"/2024-06-01/Constructium.zip";
|
||||
hash = "sha256-W4MLyUq70igpN03557vS4s9nTTQC/2JT5ObA6ctj4wA=";
|
||||
|
@ -29,6 +29,6 @@ pkgs.stdenv.mkDerivation rec {
|
|||
|
||||
[ucsur]: https://www.kreativekorp.com/ucsur
|
||||
'';
|
||||
platforms = pkgs.lib.platforms.all;
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
{ pkgs ? import <nixpkgs> {} }:
|
||||
pkgs.stdenv.mkDerivation rec {
|
||||
{ stdenv, fetchzip, lib }:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "fairfax-hd";
|
||||
version = "2024-06-01";
|
||||
|
||||
src = pkgs.fetchzip {
|
||||
src = fetchzip {
|
||||
url = "https://github.com/kreativekorp/open-relay/releases/download" +
|
||||
"/2024-06-01/FairfaxHD.zip";
|
||||
hash = "sha256-kwdpWFOYhXt0HNqfWP3EeKYhJWgKsRs7cAbzHEasM80=";
|
||||
|
@ -31,6 +31,6 @@ pkgs.stdenv.mkDerivation rec {
|
|||
|
||||
[ucsur]: https://www.kreativekorp.com/ucsur
|
||||
'';
|
||||
platforms = pkgs.lib.platforms.all;
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
{ pkgs ? import <nixpkgs> {} }:
|
||||
pkgs.stdenv.mkDerivation rec {
|
||||
{ stdenv, fetchzip, lib }:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "kreative-square";
|
||||
version = "2024-06-01";
|
||||
|
||||
src = pkgs.fetchzip {
|
||||
src = fetchzip {
|
||||
url = "https://github.com/kreativekorp/open-relay/releases/download" +
|
||||
"/2024-06-01/KreativeSquare.zip";
|
||||
hash = "sha256-Ftr3/SWyUahNeX9d/Yddkltf9W4GIN3rXGLO6TTubSA=";
|
||||
|
@ -27,6 +27,6 @@ pkgs.stdenv.mkDerivation rec {
|
|||
specifically to support pseudographics, semigraphics, and private use
|
||||
characters.
|
||||
'';
|
||||
platforms = pkgs.lib.platforms.all;
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
{ pkgs ? import <nixpkgs> {} }:
|
||||
pkgs.stdenv.mkDerivation rec {
|
||||
{ stdenv, unzip, requireFile }:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "muller";
|
||||
version = "2015";
|
||||
|
||||
buildInputs = [ pkgs.unzip ];
|
||||
src = pkgs.requireFile {
|
||||
buildInputs = [ unzip ];
|
||||
src = requireFile {
|
||||
name = "Muller.zip";
|
||||
url = "https://cloud.niss.website";
|
||||
hash = "sha256-TfVk4El8geTSTsMko1Ej91it/OitXFloihpAAMcGAlg=";
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
{ pkgs ? import <nixpkgs> {} }:
|
||||
pkgs.stdenv.mkDerivation rec {
|
||||
{ stdenv, woff2, unzip, requireFile }:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pragmatapro";
|
||||
version = "0.9";
|
||||
|
||||
buildInputs = [ pkgs.woff2 pkgs.unzip ];
|
||||
src = pkgs.requireFile {
|
||||
buildInputs = [ woff2 unzip ];
|
||||
src = requireFile {
|
||||
name = "PragmataPro0.9W.zip";
|
||||
url = "https://fsd.it/shop/fonts/pragmatapro";
|
||||
hash = "sha256-Hcthk7twaxRty4E1PvA3fX9XuLvLceuDFrrALehWIsU=";
|
||||
|
@ -15,7 +15,7 @@ pkgs.stdenv.mkDerivation rec {
|
|||
installPhase = ''
|
||||
subdir="PragmataPro${version}W"
|
||||
for font in $subdir/*.woff2; do
|
||||
${pkgs.woff2}/bin/woff2_decompress $font
|
||||
${woff2}/bin/woff2_decompress $font
|
||||
done
|
||||
mkdir -p $out/share/fonts/truetype
|
||||
cp $subdir/*.ttf $out/share/fonts/truetype
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
{ pkgs ? import <nixpkgs> {} }:
|
||||
pkgs.stdenv.mkDerivation rec {
|
||||
{ stdenv, fetchzip, lib }:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "teranoptia";
|
||||
version = "0.2";
|
||||
|
||||
src = pkgs.fetchzip {
|
||||
src = fetchzip {
|
||||
url = "https://gitlab.com/arielmartinperez/teranoptia/" +
|
||||
"-/archive/main/teranoptia-main.zip";
|
||||
hash = "sha256-kvjsf8Y98Fx5SPAQ2i/vJoSlJJLqcgt3pJHc8MkrG14=";
|
||||
|
@ -29,6 +29,6 @@ pkgs.stdenv.mkDerivation rec {
|
|||
create border ornaments, to daydream about monsters or just to spice your
|
||||
layouts with marginalia.
|
||||
'';
|
||||
platforms = pkgs.lib.platforms.all;
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue