diff --git a/.github/workflows/iso.yml b/.github/workflows/iso.yml index cd6c1082..e4f1cdc9 100644 --- a/.github/workflows/iso.yml +++ b/.github/workflows/iso.yml @@ -18,7 +18,7 @@ jobs: run: | nix run github:nix-community/nixos-generators/296067b9c7a172d294831dec89d86847f30a7cfc -- --flake .#bootstrap --format iso --out-link result - name: Create release - if: ${{ github.ref == "refs/heads/master" }} + if: github.ref == 'refs/heads/master' id: create-release uses: marvinpinto/action-automatic-releases@v1.2.1 with: diff --git a/pkgs/onagre/default.nix b/pkgs/onagre/default.nix new file mode 100644 index 00000000..08dede60 --- /dev/null +++ b/pkgs/onagre/default.nix @@ -0,0 +1,36 @@ +{ stdenv, lib, rustPlatform, fetchFromGitHub, cmake, pkg-config, freetype, expat, wayland, libX11 }: + +rustPlatform.buildRustPackage rec { + pname = "onagre"; + version = "1.0.0-alpha.0"; + + src = fetchFromGitHub { + owner = "oknozor"; + repo = "onagre"; + rev = version; + sha256 = "sha256-hP+slfCWgsTgR2ZUjAmqx9f7+DBu3MpSLvaiZhqNK1Q="; + }; + + cargoSha256 = "sha256-IOhAGrAiT2mnScNP7k7XK9CETUr6BjGdQVdEUvTYQT4="; + + nativeBuildInputs = [ + cmake + pkg-config + ]; + + buildInputs = [ + freetype + expat + ]; + + propagatedBuildInputs = [ + wayland + libX11 + ]; + + meta = with lib; { + homepage = "https://github.com/oknozor/onagre"; + description = "General application launcher for X/Wayland"; + license = licenses.mit; + }; +} diff --git a/pkgs/watc/default.nix b/pkgs/watc/default.nix new file mode 100644 index 00000000..25686b10 --- /dev/null +++ b/pkgs/watc/default.nix @@ -0,0 +1,20 @@ +{ stdenv, lib, fetchhg, buildGoModule }: + +buildGoModule rec { + pname = "watc"; + version = "0.1.2"; + + src = fetchhg { + url = "https://humungus.tedunangst.com/r/watc"; + rev = "b0dc3d9fcecd"; + sha256 = ""; + }; + + vendorSha256 = ""; + + meta = with lib; { + homepage = "https://humungus.tedunangst.com/r/watc"; + description = "Prints a succinct status for a codebase"; + license = licenses.publicDomain; + }; +}