diff options
author | Felix Buehler <account@buehler.rocks> | 2021-06-22 15:21:29 +0200 |
---|---|---|
committer | Felix Buehler <account@buehler.rocks> | 2021-07-02 00:03:10 +0200 |
commit | 58a2d4b666bee0cb4be84f2efca942b1ffee916f (patch) | |
tree | f29fc3a22513918ab0289d2d91caef0c91b3f735 /pkgs/development/libraries/gnet | |
parent | 3196682098e710a6bb6f1984a070459473fcad4c (diff) |
development: /s/name/pname&version/
Diffstat (limited to 'pkgs/development/libraries/gnet')
-rw-r--r-- | pkgs/development/libraries/gnet/default.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/development/libraries/gnet/default.nix b/pkgs/development/libraries/gnet/default.nix index 8f35407f9ddd2..debf3eb592644 100644 --- a/pkgs/development/libraries/gnet/default.nix +++ b/pkgs/development/libraries/gnet/default.nix @@ -1,11 +1,12 @@ {lib, stdenv, fetchFromGitHub, pkg-config, autoconf, automake, glib, libtool }: -stdenv.mkDerivation { - name = "gnet-2.0.8"; +stdenv.mkDerivation rec { + pname = "gnet"; + version = "2.0.8"; src = fetchFromGitHub { owner = "GNOME"; repo = "gnet"; - rev = "GNET_2_0_8"; + rev = "GNET_${lib.replaceStrings ["."] ["_"] version}"; sha256 = "1cy78kglzi235md964ikvm0rg801bx0yk9ya8zavndjnaarzqq87"; }; |