feat: the stuff of nightmares

This commit is contained in:
Kat Inskip 2023-02-15 15:53:38 -08:00
parent b589fdda9f
commit 3a29446c96
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
51 changed files with 679 additions and 1094 deletions

19
packages/dart-sass.nix Normal file
View file

@ -0,0 +1,19 @@
{ stdenv, fetchurl, autoPatchelfHook }:
stdenv.mkDerivation rec {
pname = "dart-sass";
version = "1.58.1";
src = fetchurl {
url =
"https://github.com/sass/${pname}/releases/download/${version}/${pname}-${version}-linux-x64.tar.gz";
sha256 = "sha256-5/mEeshCakp/eju9MhFZ8VXvHEuXGiDVtUI2UhI0XPU=";
};
nativeBuildInputs = [ autoPatchelfHook ];
installPhase = ''
mkdir -p $out/bin
mv sass $out/bin
'';
}

3
packages/default.nix Normal file
View file

@ -0,0 +1,3 @@
{ inputs, tree, ... }: final: prev: let
inherit (inputs.std.lib) set list;
in set.map (_: package: prev.callPackage package {} ) (removeAttrs tree.packages ["default"])