mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-12-25 13:42:23 +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/liquidctl.nix { })
|
||||||
(pkgs.callPackage ../packages/scr.nix { })
|
(pkgs.callPackage ../packages/scr.nix { })
|
||||||
(pkgs.callPackage ../packages/boox.nix { })
|
(pkgs.callPackage ../packages/boox.nix { })
|
||||||
|
(pkgs.callPackage ../packages/mmutils.nix { })
|
||||||
|
|
||||||
cool-retro-term
|
cool-retro-term
|
||||||
gromit-mpx
|
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> { } }:
|
{ pkgs ? import <nixpkgs> { } }:
|
||||||
let
|
pkgs.stdenv.mkDerivation rec {
|
||||||
|
pname = "scr";
|
||||||
scr = pkgs.fetchFromGitHub {
|
version = "1.0";
|
||||||
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "6gk";
|
owner = "6gk";
|
||||||
repo = "scr";
|
repo = "scr";
|
||||||
rev = "4064159e291e59f4543a676b872c91fe049a3f1e";
|
rev = "v${version}";
|
||||||
sha256 = "1pq0w3qpap6rsgxashphq5xlhvdyhryjaz7dh0l5rfmh7ydpzf12";
|
sha256 = "1pq0w3qpap6rsgxashphq5xlhvdyhryjaz7dh0l5rfmh7ydpzf12";
|
||||||
};
|
};
|
||||||
in
|
|
||||||
pkgs.runCommand "scr"
|
nativeBuildInputs = [ pkgs.makeWrapper ];
|
||||||
{ buildInputs = with pkgs; [ slop ffmpeg dmenu xclip shotgun ]; }
|
installPhase = "install -m755 -D ./scr $out/bin/scr";
|
||||||
''
|
postFixup = ''
|
||||||
mkdir -p $out/bin
|
wrapProgram "$out/bin/scr" --prefix PATH : ${pkgs.lib.makeBinPath (with pkgs; [ slop ffmpeg dmenu xclip shotgun ])}
|
||||||
cp ${scr}/scr $out/bin/scr
|
'';
|
||||||
sed -i "2 i export PATH=$PATH" $out/bin/scr
|
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 {
|
#let
|
||||||
#name = "scr";
|
|
||||||
#src = pkgs.fetchFromGitHub {
|
#scr = pkgs.fetchFromGitHub {
|
||||||
#owner = "6gk";
|
#owner = "6gk";
|
||||||
#repo = "scr";
|
#repo = "scr";
|
||||||
#rev = "4064159e291e59f4543a676b872c91fe049a3f1e";
|
#rev = "4064159e291e59f4543a676b872c91fe049a3f1e";
|
||||||
#sha256 = "1pq0w3qpap6rsgxashphq5xlhvdyhryjaz7dh0l5rfmh7ydpzf12";
|
#sha256 = "1pq0w3qpap6rsgxashphq5xlhvdyhryjaz7dh0l5rfmh7ydpzf12";
|
||||||
#};
|
#};
|
||||||
|
#in
|
||||||
#nativeBuildInputs = [ pkgs.makeWrapper ];
|
#pkgs.runCommand "scr"
|
||||||
#installPhase = "install -m755 -D ./scr $out/bin/scr";
|
#{ buildInputs = with pkgs; [ slop ffmpeg dmenu xclip shotgun ]; }
|
||||||
#postFixup = ''
|
#''
|
||||||
#wrapProgram "$out/bin/scr" --prefix PATH : ${pkgs.lib.makeBinPath (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