commit 050e6efca57b5a21181b486865fd1e633714351f
parent c330a1e2a1ad9fa3ed0915a8ff08861fbab7bb59
Author: Tomas Nemec <owl@gtms.dev>
Date: Wed, 28 May 2025 19:35:02 +0200
feat: get rid of unused
Diffstat:
7 files changed, 0 insertions(+), 221 deletions(-)
diff --git a/.build.yml b/.build.yml
@@ -1,27 +0,0 @@
-image: archlinux
-packages:
- - hut
- - wayland
- - wayland-protocols
- - fcft
- - pixman
- - libpulse
-sources:
- - https://git.sr.ht/~andreafeletto/levee
-secrets:
- - 8a791f75-2c57-4cd6-8cae-710da7d992cc
-tasks:
- - zig: |
- curl -O https://ziglang.org/download/0.13.0/zig-linux-x86_64-0.13.0.tar.xz
- tar xf zig-linux-x86_64-0.13.0.tar.xz
- mv zig-linux-x86_64-0.13.0 zig
- - submodules: |
- cd levee
- git submodule update --init
- - package: |
- cd levee
- ./contrib/package || exit 0
- hut git artifact upload *.tar.gz
- - build: |
- cd levee
- ~/zig/zig build
diff --git a/.gitmodules b/.gitmodules
@@ -1,9 +0,0 @@
-[submodule "deps/zig-wayland"]
- path = deps/zig-wayland
- url = https://github.com/ifreund/zig-wayland
-[submodule "deps/zig-pixman"]
- path = deps/zig-pixman
- url = https://github.com/ifreund/zig-pixman
-[submodule "deps/zig-fcft"]
- path = deps/zig-fcft
- url = https://git.sr.ht/~novakane/zig-fcft
diff --git a/contrib/package b/contrib/package
@@ -1,8 +0,0 @@
-#!/bin/sh
-set -e
-
-tag=$(git describe --exact-match)
-name="stevee-${tag#v}"
-mkdir -p "$name"
-git ls-files --recurse-submodules | xargs cp --parents -r -t "$name"
-tar -cavf "$name.tar.gz" "$name"
diff --git a/flake.lock b/flake.lock
@@ -1,64 +0,0 @@
-{
- "nodes": {
- "flake-utils": {
- "inputs": {
- "systems": [
- "systems"
- ]
- },
- "locked": {
- "lastModified": 1710146030,
- "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
- "owner": "numtide",
- "repo": "flake-utils",
- "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a",
- "type": "github"
- },
- "original": {
- "owner": "numtide",
- "repo": "flake-utils",
- "type": "github"
- }
- },
- "nixpkgs": {
- "locked": {
- "lastModified": 1724224976,
- "narHash": "sha256-Z/ELQhrSd7bMzTO8r7NZgi9g5emh+aRKoCdaAv5fiO0=",
- "owner": "nixos",
- "repo": "nixpkgs",
- "rev": "c374d94f1536013ca8e92341b540eba4c22f9c62",
- "type": "github"
- },
- "original": {
- "owner": "nixos",
- "ref": "nixos-unstable",
- "repo": "nixpkgs",
- "type": "github"
- }
- },
- "root": {
- "inputs": {
- "flake-utils": "flake-utils",
- "nixpkgs": "nixpkgs",
- "systems": "systems"
- }
- },
- "systems": {
- "locked": {
- "lastModified": 1689347949,
- "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
- "owner": "nix-systems",
- "repo": "default-linux",
- "rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
- "type": "github"
- },
- "original": {
- "owner": "nix-systems",
- "repo": "default-linux",
- "type": "github"
- }
- }
- },
- "root": "root",
- "version": 7
-}
diff --git a/flake.nix b/flake.nix
@@ -1,43 +0,0 @@
-{
- inputs = {
- nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
- systems.url = "github:nix-systems/default-linux";
- flake-utils = {
- url = "github:numtide/flake-utils";
- inputs.systems.follows = "systems";
- };
- };
-
- outputs = { nixpkgs, flake-utils, ... }:
- let
- overlays = [
- (final: prev: {
- levee = prev.callPackage ./nix/package.nix {};
- })
- ];
- in
- flake-utils.lib.eachDefaultSystem (system:
- let
- pkgs = import nixpkgs { inherit overlays system; };
- in
- {
- packages.default = pkgs.levee;
-
- devShells.default = pkgs.mkShell {
- nativeBuildInputs = with pkgs; [
- zig
- pkg-config
-
- wayland
- wayland-protocols
- wayland-scanner
-
- fcft
- libpulseaudio
- pixman
- systemdLibs
- ];
- };
- }
- );
-}
diff --git a/nix/deps.nix b/nix/deps.nix
@@ -1,34 +0,0 @@
-# generated by zon2nix (https://github.com/nix-community/zon2nix)
-
-{ linkFarm, fetchzip }:
-
-linkFarm "zig-packages" [
- {
- name = "122064e2c4230105728ba521c61ad545bfabbe79987d316756fb8a9477b1609df889";
- path = fetchzip {
- url = "https://git.sr.ht/~andreafeletto/zig-udev/archive/442a1c2b6c9f1f672c234b9ee977e4d3c2408f9a.tar.gz";
- hash = "sha256-y7qpx2Rs48JVyLcU7bfZNXx7zZxnHiloH6pk1ZkaDGA=";
- };
- }
- {
- name = "1220687c8c47a48ba285d26a05600f8700d37fc637e223ced3aa8324f3650bf52242";
- path = fetchzip {
- url = "https://codeberg.org/ifreund/zig-wayland/archive/v0.2.0.tar.gz";
- hash = "sha256-dvit+yvc0MnipqWjxJdfIsA6fJaJZOaIpx4w4woCxbE=";
- };
- }
- {
- name = "12209db20ce873af176138b76632931def33a10539387cba745db72933c43d274d56";
- path = fetchzip {
- url = "https://codeberg.org/ifreund/zig-pixman/archive/v0.2.0.tar.gz";
- hash = "sha256-zcfZEMnipWDPuptl9UN0PoaJDjy2EHc7Wwi4GQq3hkY=";
- };
- }
- {
- name = "1220a4029ee3ee70d3175c69878e2b70dccd000c4324bc74ba800d8a143b7250fb38";
- path = fetchzip {
- url = "https://git.sr.ht/~novakane/zig-fcft/archive/40691ff2df73ff09724d19791c8da8f966a95c6a.tar.gz";
- hash = "sha256-JAR6Ticav9l/3aemJWGsjXMEUyHjuhUr3L0fznnLoEY=";
- };
- }
-]
diff --git a/nix/package.nix b/nix/package.nix
@@ -1,36 +0,0 @@
-{ stdenv
-, callPackage
-, zig_0_13
-, pkg-config
-, wayland
-, wayland-protocols
-, wayland-scanner
-, fcft
-, libpulseaudio
-, pixman
-, systemdLibs
-}:
-stdenv.mkDerivation {
- pname = "levee";
- version = "0.1.4";
-
- src = ./..;
-
- nativeBuildInputs = [
- zig_0_13.hook
- pkg-config
-
- wayland
- wayland-protocols
- wayland-scanner
-
- fcft
- libpulseaudio
- pixman
- systemdLibs
- ];
-
- postPatch = ''
- ln -s ${callPackage ./deps.nix {}} $ZIG_GLOBAL_CACHE_DIR/p
- '';
-}