fc-scripts: init at 20260202
collection of useful scripts from the FlyingCircus crew
This commit is contained in:
parent
eab86cf718
commit
87f08c462a
2 changed files with 28 additions and 0 deletions
|
|
@ -85,6 +85,7 @@ let
|
|||
|
||||
nix-output-monitor # putting this here as a plain `nix` alternative
|
||||
|
||||
fc-scripts # this might turn out to be useful even in non-work environments?
|
||||
]
|
||||
++ lib.optionals pkgs.stdenv.isLinux [
|
||||
xclip
|
||||
|
|
|
|||
27
packages/fc-scripts.nix
Normal file
27
packages/fc-scripts.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
fetchFromGitHub,
|
||||
runCommand,
|
||||
python3,
|
||||
stdenvNoCC,
|
||||
}:
|
||||
stdenvNoCC.mkDerivation {
|
||||
pname = "fc-scripts";
|
||||
version = "20260202";
|
||||
src = fetchFromGitHub {
|
||||
owner = "flyingcircusio";
|
||||
repo = "scripts";
|
||||
rev = "887f066006829fc3ee44b3cfbe748c578ea2e7c1";
|
||||
hash = "sha256-mrL/dULb0NKw8cH9ferzfDdRjhWANrWQg/u7FNCtzWw=";
|
||||
};
|
||||
|
||||
buildInputs = [ python3 ];
|
||||
dontBuild = true;
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/bin
|
||||
cp *.py $out/bin/
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue