irssi-otr: fetchFromGithub
This commit is contained in:
parent
91ac4fc0a4
commit
0137d4c6ff
@ -1,14 +1,15 @@
|
|||||||
{ stdenv, fetchurl, libotr, automake, autoconf, libtool, glib, pkgconfig, irssi }:
|
{ stdenv, fetchFromGitHub, libotr, automake, autoconf, libtool, glib, pkgconfig, irssi }:
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "irssi-otr-${version}";
|
name = "irssi-otr-${version}";
|
||||||
version = "1.0.0";
|
version = "1.0.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/cryptodotis/irssi-otr/archive/v${version}.tar.gz";
|
owner = "cryptodotis";
|
||||||
name = "${name}.tar.gz";
|
repo = "irssi-otr";
|
||||||
sha256 = "bad09a2853ea6fb1a7af42c8f15868fd3ce45f973be90c78944ddf04f8ab517e";
|
rev = "v${version}";
|
||||||
|
sha256 = "139jawz3la6k91fy5kpgr6zvljl14n0fdpz72n2zw6wql69xlnnl";
|
||||||
};
|
};
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user