fish-irssi: use fetchFromGitHub and pname&version

This commit is contained in:
Felix Buehler 2021-07-12 12:46:13 +02:00
parent ac79f89b70
commit f339344359

View file

@ -1,12 +1,14 @@
{ lib, stdenv, fetchurl, irssi, gmp, automake, autoconf, libtool, openssl, glib, pkg-config }: { lib, stdenv, fetchFromGitHub, irssi, gmp, automake, autoconf, libtool, openssl, glib, pkg-config }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "fish-irssi-20130413-e98156bebd"; pname = "fish-irssi";
version = "unstable-2013-04-13";
src = fetchurl { src = fetchFromGitHub {
url = "https://github.com/falsovsky/FiSH-irssi/tarball/e98156bebd"; owner = "falsovsky";
name = "${name}.tar.gz"; repo = "FiSH-irssi";
sha256 = "1ndr51qrg66h1mfzacwzl1vd6lj39pdc4p4z5iihrj4r2f6gk11a"; rev = "e98156bebd8c150bf100b3a0356e7103bb5c20e6";
sha256 = "0mqq7q3rnkzx4j352g1l8sv3g687d76ikjl9c7g6xw96y91kqvdp";
}; };
preConfigure = '' preConfigure = ''