treewide: simplify rev/repo arguments in src

+ use fetchFromGithub where possible
This commit is contained in:
Pavol Rusnak
2020-11-01 23:02:24 -08:00
committed by Jonathan Ringer
parent c6afa8820b
commit 2c931312ce
86 changed files with 148 additions and 134 deletions
@@ -1,11 +1,12 @@
{ stdenv, fetchgit, libtool, autoconf, automake }:
{ stdenv, fetchFromGitHub, libtool, autoconf, automake }:
stdenv.mkDerivation rec {
pname = "libmkv";
version = "0.6.5.1";
src = fetchgit {
url = "https://github.com/saintdev/libmkv.git";
src = fetchFromGitHub {
owner = "saintdev";
repo = pname;
rev = "refs/tags/${version}";
sha256 = "0pr9q7yprndl8d15ir7i7cznvmf1yqpvnsyivv763n6wryssq6dl";
};