mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-12-25 13:42:23 +00:00
Update packages
This commit is contained in:
parent
4b9aa0089f
commit
91a10aa219
5 changed files with 31 additions and 23 deletions
|
@ -1 +1 @@
|
||||||
/nix/store/ag80472rvb896igjl8zzg81irglq5340-home-manager-files/.config/htop/htoprc
|
/nix/store/779hx56lbl9an0x5ahlicmc42ygmxhcm-home-manager-files/.config/htop/htoprc
|
|
@ -31,6 +31,7 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
|
(pkgs.callPackage ../packages/fet.sh.nix { })
|
||||||
sources.manix
|
sources.manix
|
||||||
direnv
|
direnv
|
||||||
rnix-lsp
|
rnix-lsp
|
||||||
|
|
21
files/nix-stuff/nixpkgs/packages/fet.sh.nix
Normal file
21
files/nix-stuff/nixpkgs/packages/fet.sh.nix
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
{ pkgs ? import <nixpkgs> { } }:
|
||||||
|
pkgs.stdenv.mkDerivation rec {
|
||||||
|
pname = "fet.sh";
|
||||||
|
version = "1.1";
|
||||||
|
src = pkgs.fetchFromGitHub {
|
||||||
|
owner = "6gk";
|
||||||
|
repo = "fet.sh";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "16b78w8fykpildyhhhf8xfvq95x97768xm7cqkcpp3vdmjzifq0w";
|
||||||
|
};
|
||||||
|
|
||||||
|
installPhase = "install -m755 -D ./fet.sh $out/bin/fet.sh";
|
||||||
|
postBuild = ''sed -i 's/\[34m/\[36m/g' ./fet.sh'';
|
||||||
|
meta = {
|
||||||
|
description = "A fetch written in posix shell without any external commands (linux only)";
|
||||||
|
homepage = "https://github.com/6gk/scr";
|
||||||
|
license = pkgs.lib.licenses.mit;
|
||||||
|
platforms = pkgs.lib.platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
{ pkgs ? import <nixpkgs> { } }:
|
{ pkgs ? import <nixpkgs> { } }:
|
||||||
pkgs.stdenv.mkDerivation rec {
|
pkgs.stdenv.mkDerivation rec {
|
||||||
pname = "scr";
|
pname = "scr";
|
||||||
version = "1.0";
|
version = "2.0";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "6gk";
|
owner = "6gk";
|
||||||
repo = "scr";
|
repo = "scr";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1pq0w3qpap6rsgxashphq5xlhvdyhryjaz7dh0l5rfmh7ydpzf12";
|
sha256 = "18srzjkbhh3n10ayq5nnbnx37vjfzfw0adhkwbg1s157y8hfnlcy";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgs.makeWrapper ];
|
nativeBuildInputs = [ pkgs.makeWrapper ];
|
||||||
|
@ -15,27 +15,14 @@ pkgs.stdenv.mkDerivation rec {
|
||||||
wrapProgram "$out/bin/scr" --prefix PATH : ${pkgs.lib.makeBinPath (with pkgs; [ slop ffmpeg dmenu xclip shotgun ])}
|
wrapProgram "$out/bin/scr" --prefix PATH : ${pkgs.lib.makeBinPath (with pkgs; [ slop ffmpeg dmenu xclip shotgun ])}
|
||||||
'';
|
'';
|
||||||
meta = {
|
meta = {
|
||||||
description = "a screenrecording / screenshotting script written in sh.";
|
description = "Super CRappy SCReenshot SCRipt";
|
||||||
|
longDescription = ''
|
||||||
|
Super CRappy SCReenshot SCRipt
|
||||||
|
(and recording ^)
|
||||||
|
A SCRipt for Sound Cloud Rappers
|
||||||
|
'';
|
||||||
homepage = "https://github.com/6gk/scr";
|
homepage = "https://github.com/6gk/scr";
|
||||||
license = pkgs.lib.licenses.mit;
|
license = pkgs.lib.licenses.mit;
|
||||||
platforms = pkgs.lib.platforms.all;
|
platforms = pkgs.lib.platforms.all;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#let
|
|
||||||
|
|
||||||
#scr = pkgs.fetchFromGitHub {
|
|
||||||
#owner = "6gk";
|
|
||||||
#repo = "scr";
|
|
||||||
#rev = "4064159e291e59f4543a676b872c91fe049a3f1e";
|
|
||||||
#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
|
|
||||||
#''
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
/nix/store/jrvwf4624ic9sdkw5yag462w8c3lb9gn-options.json
|
|
Loading…
Reference in a new issue