27 lines
511 B
Nix
27 lines
511 B
Nix
{
|
|
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
|
|
'';
|
|
}
|