Compare commits
2 Commits
e40d6fc2bb
...
5f3418f061
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5f3418f061 | ||
|
|
0411765052 |
8
flake.lock
generated
8
flake.lock
generated
@@ -20,16 +20,16 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1762653957,
|
"lastModified": 1764521362,
|
||||||
"narHash": "sha256-3em63zYO+s0NxxKwPXyzV80fXfwZOg7/LjYF5ndZltc=",
|
"narHash": "sha256-M101xMtWdF1eSD0xhiR8nG8CXRlHmv6V+VoY65Smwf4=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "c148fa0cf61fc3bb7b011f2d4f8d789964ea7dd0",
|
"rev": "871b9fd269ff6246794583ce4ee1031e1da71895",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"ref": "master",
|
"ref": "25.11",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
description = "Nix flake for the activity logging script";
|
description = "Nix flake for the activity logging script";
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/master";
|
nixpkgs.url = "github:NixOS/nixpkgs/25.11";
|
||||||
sudoku-solver.url = "path:./src/sudoku-hs";
|
sudoku-solver.url = "path:./src/sudoku-hs";
|
||||||
};
|
};
|
||||||
outputs =
|
outputs =
|
||||||
|
|||||||
70
pkgs/furtherance.nix
Normal file
70
pkgs/furtherance.nix
Normal file
@@ -0,0 +1,70 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
stdenv,
|
||||||
|
fetchFromGitHub,
|
||||||
|
rustPlatform,
|
||||||
|
fontconfig,
|
||||||
|
libxkbcommon,
|
||||||
|
openssl,
|
||||||
|
pkg-config,
|
||||||
|
xorg,
|
||||||
|
vulkan-loader,
|
||||||
|
wayland,
|
||||||
|
}:
|
||||||
|
rustPlatform.buildRustPackage (finalAttrs: {
|
||||||
|
pname = "furtherance";
|
||||||
|
version = "25.3.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "unobserved-io";
|
||||||
|
repo = "Furtherance";
|
||||||
|
rev = finalAttrs.version;
|
||||||
|
hash = "sha256-LyGO+fbsu16Us0+sK0T6HlGq7EwZWSetd+gCIKKEbkk=";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoHash = "sha256-j/5O40k12rl/gmRc1obo9ImdkZ0Mdrke2PCf6tFCWIo=";
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
pkg-config
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
fontconfig
|
||||||
|
openssl
|
||||||
|
libxkbcommon
|
||||||
|
xorg.libX11
|
||||||
|
xorg.libXScrnSaver
|
||||||
|
xorg.libXcursor
|
||||||
|
xorg.libXi
|
||||||
|
vulkan-loader
|
||||||
|
wayland
|
||||||
|
];
|
||||||
|
|
||||||
|
checkFlags = [
|
||||||
|
# panicked at src/tests/timer_tests.rs:30:9
|
||||||
|
"--skip=tests::timer_tests::timer_tests::test_split_task_input_basic"
|
||||||
|
];
|
||||||
|
|
||||||
|
postFixup = lib.optionalString stdenv.hostPlatform.isLinux ''
|
||||||
|
patchelf $out/bin/${finalAttrs.pname} \
|
||||||
|
--add-rpath ${
|
||||||
|
lib.makeLibraryPath [
|
||||||
|
vulkan-loader
|
||||||
|
libxkbcommon
|
||||||
|
wayland
|
||||||
|
]
|
||||||
|
}
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Track your time without being tracked";
|
||||||
|
mainProgram = "furtherance";
|
||||||
|
homepage = "https://github.com/unobserved-io/Furtherance";
|
||||||
|
license = lib.licenses.gpl3Plus;
|
||||||
|
platforms = lib.platforms.linux;
|
||||||
|
maintainers = with lib.maintainers; [
|
||||||
|
CaptainJawZ
|
||||||
|
locnide
|
||||||
|
];
|
||||||
|
};
|
||||||
|
})
|
||||||
Reference in New Issue
Block a user