diff options
| author | Franck Cuny <franck@fcuny.net> | 2024-05-04 13:41:42 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2024-05-04 13:41:42 -0700 |
| commit | fe3cf4812657ee972315e0bd0d6e5b0c1e8774c0 (patch) | |
| tree | e4b5e7be716bb64e69c4d32d43cb85e67c918252 /packages/slocalc/default.nix | |
| parent | don't install the script for pizza (diff) | |
| download | infra-fe3cf4812657ee972315e0bd0d6e5b0c1e8774c0.tar.gz | |
move the slocalc under `src`
Diffstat (limited to 'packages/slocalc/default.nix')
| -rw-r--r-- | packages/slocalc/default.nix | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/packages/slocalc/default.nix b/packages/slocalc/default.nix deleted file mode 100644 index 114120e..0000000 --- a/packages/slocalc/default.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ lib, python3, stdenvNoCC }: - -stdenvNoCC.mkDerivation rec { - pname = "slocalc"; - src = ./slocalc.py; - version = "0.1.0"; - - buildInputs = [ python3 ]; - propagatedBuildInputs = [ python3 ]; - - dontUnpack = true; - dontBuild = true; - - installPhase = '' - mkdir -p $out/bin - cp $src $out/bin/${pname} - ''; - - meta = with lib; { - description = "Calculate SLO uptime."; - license = with licenses; [ mit ]; - platforms = platforms.unix; - maintainers = with maintainers; [ fcuny ]; - }; -} |
