d111577481
wrapper-manager-fds/docs: init Hugo project skeleton
2024-07-15 11:08:29 +08:00
4774e3b9c2
wrapper-manager-fds: init README
2024-07-15 11:06:55 +08:00
f506e7c802
wrapper-manager-fds/docs: init Ruby environment
2024-07-14 13:36:03 +08:00
2f0b564277
wrapper-manager-fds: init gitignore
2024-07-14 11:16:58 +08:00
7e025bd9cf
wrapper-manager-fds/docs: init subproject
2024-07-14 11:14:22 +08:00
7de7807cda
wrapper-manager-fds: put more things in flake
2024-07-14 11:13:08 +08:00
ee4b26d2ea
wrapper-manager-fds: improve devshell for non-flake users
2024-07-13 17:00:39 +08:00
0f1df5e447
wrapper-manager-fds/tests: init derivation for tests
...
This is to make checking with flakes a bit easier. Though, there are
much better ways to integrate this even with just the nix-command
experimental feature.
2024-07-13 17:00:06 +08:00
1ba01aa5a8
wrapper-manager-fds: create LICENSE
2024-07-12 13:05:54 +08:00
5043f6b01a
wrapper-manager-fds/modules: force generated desktop files into path
...
`pkgs.symlinkJoin` probably doesn't like that but for now, this will do.
2024-07-11 17:30:40 +08:00
26fc802dc7
wrapper-manager-fds/modules: disable read-only for makeWrapperArgs
per-wrapper
...
This should make it usable for third-party module authors (which is also
me considering I make custom modules for myself).
2024-07-11 17:30:01 +08:00
6c6ae7ecd6
wrapper-manager-fds/modules: update example for env integration
2024-07-10 15:45:04 +08:00
da6c75a510
wrapper-manager-fds/lib: remove build-support subset
...
It isn't used much and the module environment has gone into a much more
than a single wrapper-per-module config.
2024-07-10 15:44:40 +08:00
59494222d6
wrapper-manager-fds/modules: update XDG desktop entry config for wrappers
2024-07-10 15:39:37 +08:00
f146415330
wrapper-manager-fds/modules: un-modularize parts of the module
...
There's not much use for it being modularized anyways.
2024-07-10 15:39:12 +08:00
9128f0094b
wrapper-manager-fds/modules: update common env module documentation
2024-07-09 23:18:32 +08:00
025b4f043a
wrapper-manager-fds/lib: make eval functions easier to import
...
This is to make wrapper-manager-fds easier to bootstrap whether used
with flakes or not.
2024-07-09 23:17:52 +08:00
50d8125b1b
wrapper-manager-fds/modules: init setting XDG desktop entries
2024-07-09 16:03:30 +08:00
62520e543e
wrapper-manager-fds/tests: init utils subset
2024-07-09 15:44:57 +08:00
a04da2a0ec
wrapper-manager-fds/tests: update test for env subset
2024-07-08 21:13:32 +08:00
3324c12d4c
wrapper-manager-fds/modules: overhaul wrapper config
...
Now, there could be multiple wrappers within the configuration but it
should still result with one derivation unlike the original version.
This could be handy for making package overrides with multiple binaries
(for example, 7Z) while making the interface consistent. This turns out
to be way nicer than I thought which is a good thing.
2024-07-08 21:12:31 +08:00
e3122bfd24
bahaghari/lib: add trigonometric functions to math subset
...
Code taken from
https://lantian.pub/en/article/modify-computer/nix-trigonometric-math-library-from-zero.lantian/
with proper attributions (hopefully).
2024-07-07 20:14:41 +08:00
709c2a6dfb
wrapper-manager-fds/lib: add arg0 argument for mkWrappedPackage
...
Time to figure out if this is a good idea.
2024-07-03 23:19:22 +08:00
46f0fe33d9
wrapper-manager-fds/modules: fix NixOS and home-manager module
2024-07-03 23:18:26 +08:00
6d2bed291f
wrapper-manager-fds: init flake
2024-07-02 19:39:25 +08:00
eaad135a07
wrapper-manager-fds/modules: init module for home-manager and NixOS integration
2024-07-02 19:30:47 +08:00
6f16631346
wrapper-manager-fds/lib: add lib argument for evaluation
2024-07-02 13:26:40 +08:00
f1d4984921
wrapper-manager-fds/modules: add unset option
2024-07-02 11:56:26 +08:00
6e915c34b2
wrapper-manager-fds/modules: add option for binary wrapper creation
...
Also updated the name of the wrapper arguments to its
stdenv.mkDerivation equivalent.
2024-07-02 11:38:30 +08:00
df9dcfcb21
wrapper-manager-fds/modules: fix default value for executable name
2024-07-01 22:31:33 +08:00
52d8603c12
wrapper-manager-fds/lib: add option to make compiled wrappers
...
Also fix a bunch of things such as the correct filename for the Nix
store path and everything.
2024-07-01 22:30:57 +08:00
e73ef58782
wrapper-manager-fds/lib: fix eval function
2024-07-01 22:29:03 +08:00
ddcee9377b
wrapper-manager-fds/tests: init for library set
2024-07-01 22:27:03 +08:00
7cc57ce319
wrapper-manager-fds: init
...
It's a prototype for now, yeah. It'll be improved.
2024-07-01 15:14:48 +08:00
cf23a92548
bahaghari/lib: add radian <-> degree conversion in math subset
2024-06-27 21:08:09 +08:00
e1848def6d
bahaghari/lib: refactor math subset
2024-06-15 19:54:57 +08:00
f7a9452ee5
bahaghari/lib: update color.hsl
2024-06-15 19:54:28 +08:00
ff0ddb0e27
bahaghari/lib: add math.mod
...
Now, it's the real modulo operation.
2024-06-15 19:46:34 +08:00
61720afeb2
bahaghari/lib: simplify math.remainder
...
Indeed I'm too dumb for mathematics. :p
Also, now the remainder implementation is double-checked with Python 3's
math.remainder() function.
2024-06-15 19:45:33 +08:00
4bd8aee223
bahaghari/lib: rename math.mod' into remainder
...
It's a much easier thing to write and apparently it is different to
modulo.
2024-06-15 16:23:30 +08:00
da4a0b8826
bahaghari/lib: fix math.mod' implementation bug
2024-06-15 15:55:24 +08:00
3f8c59c399
bahaghari/lib: add math.isWithinRange'
2024-06-15 15:12:05 +08:00
2576ef4e43
bahaghari/lib: implement basic HSL color namespace
2024-06-15 13:48:34 +08:00
a170fd8344
bahaghari/lib: add math.mod' function
2024-06-15 13:38:42 +08:00
25654828c0
bahaghari/lib: add optionalNull
to top-level
2024-06-14 23:54:37 +08:00
e119d84731
bahaghari/tests/lib: add more unit tests
2024-06-14 23:46:01 +08:00
17c36bf29c
bahaghari/lib: update error message to be more consistent with nixpkgs
2024-06-11 16:39:09 +08:00
e74640cf16
bahaghari: use npins for pinning nixpkgs branches
...
This makes it possible for easier way to contribute with non-flakes
usage.
2024-06-05 21:16:01 +08:00
999401f3ce
bahaghari/lib: update hex subset to properly accept inputs with mixed letter cases
2024-06-05 10:22:58 +08:00
35873462f3
bahaghari/lib: update and refactor colors.rgb
...
Now the RGB colorspace object doesn't have the methods built into the
set as that basically screws a lot of things when exporting it to the
output.
Also, the alpha component should be handled nicely now.
2024-06-04 20:40:29 +08:00