Refactor custom packages

This commit is contained in:
Oliver Davies 2025-01-19 13:49:10 +00:00
parent e04bededf3
commit a7430169e9
16 changed files with 58 additions and 42 deletions

View file

@ -1,17 +1,19 @@
{ pkgs, ... }:
pkgs.stdenv.mkDerivation rec {
with pkgs;
stdenv.mkDerivation rec {
pname = "i3-battery-popop";
version = "1.1.1";
src = pkgs.fetchFromGitHub {
src = fetchFromGitHub {
owner = "rjekker";
repo = "i3-battery-popup";
rev = "v${version}";
sha256 = "s6jZCkB0Z8dtnBG2p1NJIUY1fV4urEp4w6wFzxFNlqg=";
};
buildInputs = with pkgs; [ bash ];
buildInputs = [ bash ];
installPhase = ''
mkdir -p $out/bin