man-db: replace name with pname&version

This commit is contained in:
Felix Buehler 2021-08-02 11:40:56 +02:00
parent 30cf79fa62
commit 6f5ee12acb

View File

@ -1,10 +1,11 @@
{ lib, stdenv, fetchurl, pkg-config, libpipeline, db, groff, libiconv, makeWrapper, buildPackages }:
stdenv.mkDerivation rec {
name = "man-db-2.9.4";
pname = "man-db";
version = "2.9.4";
src = fetchurl {
url = "mirror://savannah/man-db/${name}.tar.xz";
url = "mirror://savannah/man-db/man-db-${version}.tar.xz";
sha256 = "sha256-tmyZ7frRatkoyIn4fPdjgCY8FgkyPCgLOp5pY/2xZ1Y=";
};