serf: switch to pname + version

This commit is contained in:
Sandro Jäckel 2021-03-03 02:01:44 +01:00
parent e3dbed8e38
commit c2d20af5e5
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -2,10 +2,11 @@
, pkg-config, libiconv }:
stdenv.mkDerivation rec {
name = "serf-1.3.9";
pname = "serf";
version = "1.3.9";
src = fetchurl {
url = "https://www.apache.org/dist/serf/${name}.tar.bz2";
url = "https://www.apache.org/dist/serf/${pname}-${version}.tar.bz2";
sha256 = "1k47gbgpp52049andr28y28nbwh9m36bbb0g8p0aka3pqlhjv72l";
};