mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 10:23:29 +00:00
qoauth: use fetchFromGitHub and pname&version
This commit is contained in:
parent
bf884a789e
commit
7585fae730
@ -1,12 +1,15 @@
|
||||
{ lib, stdenv, fetchurl, qtbase, qmake, qca-qt5 }:
|
||||
{ lib, stdenv, fetchFromGitHub, qtbase, qmake, qca-qt5 }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "qoauth-2.0.0";
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "qoauth";
|
||||
version = "2.0.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/ayoy/qoauth/archive/v2.0.0.tar.gz";
|
||||
name = "qoauth-2.0.0.tar.gz";
|
||||
sha256 = "a28005986410d333e03d077679cdf6c504ec5a33342867dc0f9fb0b74285e333";
|
||||
src = fetchFromGitHub {
|
||||
owner = "ayoy";
|
||||
repo = "qoauth";
|
||||
rev = "v${version}";
|
||||
name = "qoauth-${version}.tar.gz";
|
||||
sha256 = "1b2jdqs526ac635yb2whm049spcsk7almnnr6r5b4yqhq922anw3";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
Loading…
Reference in New Issue
Block a user