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
plasma-applet-volumewin7mixer: init at v23 #46045
plasma-applet-volumewin7mixer: init at v23 #46045
Conversation
@@ -0,0 +1,27 @@ | |||
{ stdenv, cmake, extra-cmake-modules, plasma-framework, kwindowsystem, fetchFromGitHub, }: | |||
|
|||
let version = "23"; in |
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.
Most packages integrate the version
attribute into the attribute set passed to mkDerivation
. This can be done by writing rec
before the attribute set.
stdenv.mkDerivation rec {
name = "plasma-applet-volumewin7mixer-${version}";
version = "23";
Also you should interpolate the version into the name.
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.
Fixed ;)
meta = with stdenv.lib; { | ||
description = "A fork of the default volume plasmoid with a Windows 7 theme (vertical sliders)."; | ||
homepage = "https://github.com/Zren/plasma-applet-volumewin7mixer"; | ||
license = licenses.gpl3; |
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.
I can't find a LICENSE
file in the repository, or some other indication that its licensed under the terms and conditions of the GPL-3.
It does say GPL-2 or later on the KDE store page, and some files have a GPL-2 / GPL-2.1 or later header. I'm not quite sure whether this is enough to say that the whole package is licensed under the GPL-3.
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.
I assumed the license from the packages for other distros mentioned in the README (archlinux and chakralinux).
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.
After a search on what GPL means on archlinux, it should probably be gpl2Plus.
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.
It'd be nice if the license is clearly indicated in the source repository. I don't know what this situation means in the context of nixpkgs, maybe some maintainer like @Mic92 can help out?
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.
Since this package is a fork of the original volume mixer applet of the plasma desktop (which is GPL2), I guess the license should stay the same right? I'll open an issue in the original project to confirm what the license is, to be sure.
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.
Zren/plasma-applet-volumewin7mixer#3 (comment) Yep, this is GPL2.
@@ -0,0 +1,26 @@ | |||
{ stdenv, cmake, extra-cmake-modules, plasma-framework, kwindowsystem, plasma-pa, fetchFromGitHub, }: |
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.
Should remove the trailing comma here
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.
Done.
@GrahamcOfBorg build plasma-applet-volumewin7mixer |
No attempt on x86_64-darwin (full log) The following builds were skipped because they don't evaluate on x86_64-darwin: plasma-applet-volumewin7mixer Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: plasma-applet-volumewin7mixer Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: plasma-applet-volumewin7mixer Partial log (click to expand)
|
Motivation for this change
Adds a volume mixer applet for plasma https://github.com/Zren/plasma-applet-volumewin7mixer.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)