mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 03:34:58 +00:00
lvtk: switch to fetchFromGitHub
This commit is contained in:
parent
cb88231ce7
commit
f3669aec91
@ -1,12 +1,14 @@
|
||||
{ lib, stdenv, fetchurl, boost, gtkmm2, lv2, pkg-config, python2, wafHook }:
|
||||
{ lib, stdenv, fetchFromGitHub, boost, gtkmm2, lv2, pkg-config, python2, wafHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "lvtk";
|
||||
version = "1.2.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/lvtk/lvtk/archive/${version}.tar.gz";
|
||||
sha256 = "03nbj2cqcklqwh50zj2gwm07crh5iwqbpxbpzwbg5hvgl4k4rnjd";
|
||||
src = fetchFromGitHub {
|
||||
owner = "lvtk";
|
||||
repo = "lvtk";
|
||||
rev = version;
|
||||
sha256 = "sha256-6IoyhBig3Nvc4Y8F0w8b1up6sn8O2RmoUVaBQ//+Aaw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config python2 wafHook ];
|
||||
|
Loading…
Reference in New Issue
Block a user