68 current 2024-03-01 00:22:19 23.11.4801.b7ee09cf5614 6.1.79 *

This commit is contained in:
Sky Hearn 2024-03-01 00:22:24 -08:00
parent 95ae003413
commit f521ffecf7
2 changed files with 29 additions and 0 deletions

View File

@ -89,6 +89,7 @@ nitrogen --restore &
home-manager.users.sky = {pkgs, ...}: { home-manager.users.sky = {pkgs, ...}: {
home.packages = with pkgs; [ home.packages = with pkgs; [
#obsidian #obsidian
(callPackage (./rolldice/default.nix) {})
zim zim
moonlight-embedded moonlight-embedded
nitrogen nitrogen

28
rolldice/default.nix Normal file
View File

@ -0,0 +1,28 @@
{ lib
, stdenv
, fetchzip
, readline
}:
stdenv.mkDerivation rec {
name = "rolldice";
version = "1.16-1";
src = fetchzip {
url = "https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/rolldice/1.16-1build1/rolldice_1.16.orig.tar.gz";
sha256 = "sha256-gyBwPzO0UO6LvGvaWk5bn1uFUPtedC3Y1/uN3FdyJSQ=";
};
buildInputs = [
readline
];
buildPhase = ''
make
'';
installPhase = ''
mkdir -p $out/bin
mv rolldice $out/bin
'';
}