chore: move fix to override
This commit is contained in:
parent
6ddb5d9e6b
commit
e2f8b16c87
8 changed files with 6 additions and 6 deletions
41
nix/override/oxishut.nix
Normal file
41
nix/override/oxishut.nix
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
{ pkgs
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
let
|
||||
toolchain = pkgs.rust-bin.selectLatestNightlyWith (toolchain: toolchain.minimal);
|
||||
rustPlatform = pkgs.makeRustPlatform {
|
||||
cargo = toolchain;
|
||||
rustc = toolchain;
|
||||
};
|
||||
in
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "oxishut";
|
||||
version = "1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "DashieTM";
|
||||
repo = "OxiShut";
|
||||
rev = "${version}";
|
||||
hash = "sha256-aCNnNxmIHq+IjjviWNGSHfdXT55s367GTAeQoaTZ/KA=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-UeoBSHwMGfhkgRT7kmelcG3/omtB03Wh4IZrTy3yf3Y=";
|
||||
|
||||
nativeBuildInputs = with pkgs;[ pkg-config glib ];
|
||||
|
||||
buildInputs = with pkgs;[
|
||||
gtk4
|
||||
libadwaita
|
||||
gtk4-layer-shell
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "";
|
||||
homepage = "https://github.com/DashieTM/OxiShut";
|
||||
changelog = "https://github.com/DashieTM/OxiShut/releases/tag/${version}";
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ DashieTM ];
|
||||
mainProgram = "oxishut";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue