68 current 2024-03-01 00:22:19 23.11.4801.b7ee09cf5614 6.1.79 *
Signed-off-by: Sky Hearn <sky.hearn@pm.me>
This commit is contained in:
parent
3558897e4e
commit
15f4249f9b
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
'';
|
||||||
|
}
|
Loading…
Reference in New Issue