mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-12-25 05:42:22 +00:00
Add packages
This commit is contained in:
parent
460d6b6db5
commit
4b9aa0089f
5 changed files with 54 additions and 23 deletions
|
@ -1 +1 @@
|
|||
/nix/store/b892y8ysy3s7swvcfz493lz3cbc2mbi1-home-manager-files/.config/htop/htoprc
|
||||
/nix/store/ag80472rvb896igjl8zzg81irglq5340-home-manager-files/.config/htop/htoprc
|
|
@ -19,6 +19,7 @@ in
|
|||
(pkgs.callPackage ../packages/liquidctl.nix { })
|
||||
(pkgs.callPackage ../packages/scr.nix { })
|
||||
(pkgs.callPackage ../packages/boox.nix { })
|
||||
(pkgs.callPackage ../packages/mmutils.nix { })
|
||||
|
||||
cool-retro-term
|
||||
gromit-mpx
|
||||
|
|
22
files/nix-stuff/nixpkgs/packages/mmutils.nix
Normal file
22
files/nix-stuff/nixpkgs/packages/mmutils.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{ pkgs ? import <nixpkgs> { } }:
|
||||
pkgs.stdenv.mkDerivation rec {
|
||||
pname = "mmutils";
|
||||
version = "1.4.1";
|
||||
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "pockata";
|
||||
repo = "mmutils";
|
||||
rev = "v${version}";
|
||||
sha256 = "08wlb278m5lr218c87yqashk7farzny51ybl5h6j60i7pbpm01ml";
|
||||
};
|
||||
|
||||
buildInputs = with pkgs; [ xorg.libxcb ];
|
||||
installFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
meta = {
|
||||
description = "A set of utilities to easily get xrandr monitor information";
|
||||
homepage = "https://github.com/pockata/mmutils";
|
||||
license = pkgs.lib.licenses.isc;
|
||||
platforms = pkgs.lib.platforms.all;
|
||||
};
|
||||
}
|
|
@ -1,34 +1,41 @@
|
|||
{ pkgs ? import <nixpkgs> { } }:
|
||||
let
|
||||
|
||||
scr = pkgs.fetchFromGitHub {
|
||||
pkgs.stdenv.mkDerivation rec {
|
||||
pname = "scr";
|
||||
version = "1.0";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "6gk";
|
||||
repo = "scr";
|
||||
rev = "4064159e291e59f4543a676b872c91fe049a3f1e";
|
||||
rev = "v${version}";
|
||||
sha256 = "1pq0w3qpap6rsgxashphq5xlhvdyhryjaz7dh0l5rfmh7ydpzf12";
|
||||
};
|
||||
in
|
||||
pkgs.runCommand "scr"
|
||||
{ buildInputs = with pkgs; [ slop ffmpeg dmenu xclip shotgun ]; }
|
||||
''
|
||||
mkdir -p $out/bin
|
||||
cp ${scr}/scr $out/bin/scr
|
||||
sed -i "2 i export PATH=$PATH" $out/bin/scr
|
||||
''
|
||||
|
||||
nativeBuildInputs = [ pkgs.makeWrapper ];
|
||||
installPhase = "install -m755 -D ./scr $out/bin/scr";
|
||||
postFixup = ''
|
||||
wrapProgram "$out/bin/scr" --prefix PATH : ${pkgs.lib.makeBinPath (with pkgs; [ slop ffmpeg dmenu xclip shotgun ])}
|
||||
'';
|
||||
meta = {
|
||||
description = "a screenrecording / screenshotting script written in sh.";
|
||||
homepage = "https://github.com/6gk/scr";
|
||||
license = pkgs.lib.licenses.mit;
|
||||
platforms = pkgs.lib.platforms.all;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
#pkgs.stdenv.mkDerivation {
|
||||
#name = "scr";
|
||||
#src = pkgs.fetchFromGitHub {
|
||||
#let
|
||||
|
||||
#scr = pkgs.fetchFromGitHub {
|
||||
#owner = "6gk";
|
||||
#repo = "scr";
|
||||
#rev = "4064159e291e59f4543a676b872c91fe049a3f1e";
|
||||
#sha256 = "1pq0w3qpap6rsgxashphq5xlhvdyhryjaz7dh0l5rfmh7ydpzf12";
|
||||
#};
|
||||
|
||||
#nativeBuildInputs = [ pkgs.makeWrapper ];
|
||||
#installPhase = "install -m755 -D ./scr $out/bin/scr";
|
||||
#postFixup = ''
|
||||
#wrapProgram "$out/bin/scr" --prefix PATH : ${pkgs.lib.makeBinPath (with pkgs; [ slop ffmpeg dmenu xclip shotgun ])}
|
||||
#'';
|
||||
#}
|
||||
#in
|
||||
#pkgs.runCommand "scr"
|
||||
#{ buildInputs = with pkgs; [ slop ffmpeg dmenu xclip shotgun ]; }
|
||||
#''
|
||||
#mkdir -p $out/bin
|
||||
#cp ${scr}/scr $out/bin/scr
|
||||
#sed -i "2 i export PATH=$PATH" $out/bin/scr
|
||||
#''
|
||||
|
|
1
files/nix-stuff/nixpkgs/result
Symbolic link
1
files/nix-stuff/nixpkgs/result
Symbolic link
|
@ -0,0 +1 @@
|
|||
/nix/store/jrvwf4624ic9sdkw5yag462w8c3lb9gn-options.json
|
Loading…
Reference in a new issue