68 current 2024-03-01 00:22:19 23.11.4801.b7ee09cf5614 6.1.79 *
This commit is contained in:
parent
95ae003413
commit
f521ffecf7
|
@ -89,6 +89,7 @@ nitrogen --restore &
|
|||
home-manager.users.sky = {pkgs, ...}: {
|
||||
home.packages = with pkgs; [
|
||||
#obsidian
|
||||
(callPackage (./rolldice/default.nix) {})
|
||||
zim
|
||||
moonlight-embedded
|
||||
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