Refactor custom packages
This commit is contained in:
parent
e04bededf3
commit
a7430169e9
16 changed files with 58 additions and 42 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue