diff options
author | Will Dietz <w@wdtz.org> | 2019-05-09 08:32:15 -0500 |
---|---|---|
committer | Will Dietz <w@wdtz.org> | 2019-05-09 12:36:55 -0500 |
commit | 430b24a3866c636ee02f4873516389454198570c (patch) | |
tree | aa8a1985625c6e695c2b73887e78bffb088d5073 | |
parent | 2c4f13e7aae08ac8596e0c57fe61bf27648ea9f1 (diff) | |
download | nixlib-430b24a3866c636ee02f4873516389454198570c.tar nixlib-430b24a3866c636ee02f4873516389454198570c.tar.gz nixlib-430b24a3866c636ee02f4873516389454198570c.tar.bz2 nixlib-430b24a3866c636ee02f4873516389454198570c.tar.lz nixlib-430b24a3866c636ee02f4873516389454198570c.tar.xz nixlib-430b24a3866c636ee02f4873516389454198570c.tar.zst nixlib-430b24a3866c636ee02f4873516389454198570c.zip |
libosinfo: pname
-rw-r--r-- | pkgs/development/libraries/libosinfo/default.nix | 5 |
1 files 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"; }; |