From 430b24a3866c636ee02f4873516389454198570c Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Thu, 9 May 2019 08:32:15 -0500 Subject: [PATCH] libosinfo: pname --- pkgs/development/libraries/libosinfo/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/libosinfo/default.nix b/pkgs/development/libraries/libosinfo/default.nix index d243b7d1e9f1..9efeb0f678e0 100644 --- a/pkgs/development/libraries/libosinfo/default.nix +++ b/pkgs/development/libraries/libosinfo/default.nix @@ -3,10 +3,11 @@ }: stdenv.mkDerivation rec { - name = "libosinfo-1.5.0"; + pname = "libosinfo"; + version = "1.5.0"; src = fetchurl { - url = "https://releases.pagure.org/libosinfo/${name}.tar.gz"; + url = "https://releases.pagure.org/${pname}/${pname}-${version}.tar.gz"; sha256 = "12b0xj9fz9q91d1pz9xm6aqap5k1ip0m9m3qvqmwjy1lk1kjasdz"; };