New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kitsas: init at 2.3 #115270
kitsas: init at 2.3 #115270
Conversation
Result of 1 package built:4 suggestions:
Result of 1 package built:4 suggestions:
|
Hopefully the commits do what you asked @SuperSandro2000 . Could you please re-review the changes? |
Thanks for the snd round @SuperSandro2000 ! How this MR looks now? While implementing the changes, I started to wonder if there is a tool available to check the style. And possibly some of the facts like the one that using qmake means enabling parallel building. E.g. something like Late addition: It turned out that there are several suitable tools. I'll start trying them out. |
There are a few formatters (I use |
2bd11d3
to
86131b5
Compare
Haa and thanks! |
7ea5b7c
to
1edf913
Compare
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
mkdir -p $out/bin $out/share | ||
cp kitsas $out/bin | ||
cp $src/kitsas.png $out/share | ||
cp $src/kitsas.desktop $out/share |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cp $src/kitsas.desktop $out/share | |
cp $src/kitsas.desktop $out/share/applications |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, I made this change and tried two formatters on this default.nix
file and included the changes (the qmakeFlags
on separate lines). Further, I found a typo on the description (the associations word).
To be sure that there is that applications
directory, I added it into the mkdir
command above.
I didn't realize at all that the applications
directory was needed (the icons were "working" in my case when I tried this locally). (I also tried to try the hammering
but wasn't yet able to see, how to use it.)
installPhase = '' | ||
mkdir -p $out/bin $out/share | ||
cp kitsas $out/bin | ||
cp $src/kitsas.png $out/share |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This probably needs adjustment, too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I copied this too into the applications
directory.
Add kitsas, an accounting application This commit adds an accounting application called kitsas to the set of packages. Kitsas is suitable for Finnish associations and small business. Change meta maintainers Change the meta license line Add newlines Change the top level caller Start using qmakeFlags Second review round changes Change license to non-deprecated one Typo in the license constant
kitsas: init at 2.3
Motivation for this change
This adds an accounting application called kitsas to the set of available applications. Kitsas is suitable for Finnish associations and small business.
This is my first packaged application and related pull request. (I have no exp on reviewing nixpkgs issues yet.)
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)