Merge pull request #112859 from SuperSandro2000/bc

bc: name -> pname, version, clarify license
This commit is contained in:
Sandro 2021-02-12 15:01:48 +01:00 committed by GitHub
commit 037eaddcd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
};
}