bc: name -> pname, version, clarify license

This commit is contained in:
Sandro Jäckel 2021-02-12 05:07:47 +01:00
parent 8ac8a860b9
commit 275db73475
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

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