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