Merge pull request #112859 from SuperSandro2000/bc
bc: name -> pname, version, clarify license
This commit is contained in:
commit
037eaddcd3
@ -3,9 +3,10 @@
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "bc-1.07.1";
|
||||
pname = "bc";
|
||||
version = "1.07.1";
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/bc/${name}.tar.gz";
|
||||
url = "mirror://gnu/bc/${pname}-${version}.tar.gz";
|
||||
sha256 = "62adfca89b0a1c0164c2cdca59ca210c1d44c3ffc46daf9931cf4942664cb02a";
|
||||
};
|
||||
|
||||
@ -30,10 +31,10 @@ stdenv.mkDerivation rec {
|
||||
# masss-rebuild.
|
||||
strictDeps = true;
|
||||
|
||||
meta = {
|
||||
meta = with lib; {
|
||||
description = "GNU software calculator";
|
||||
homepage = "https://www.gnu.org/software/bc/";
|
||||
license = lib.licenses.gpl3;
|
||||
platforms = lib.platforms.all;
|
||||
license = licenses.gpl3Plus;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user