mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 03:34:58 +00:00
libsmf: switch to fetchFromGitHub
This commit is contained in:
parent
12a0f69f6f
commit
cb88231ce7
@ -1,11 +1,14 @@
|
||||
{ lib, stdenv, fetchurl, autoreconfHook, glib, pkg-config }:
|
||||
{ lib, stdenv, fetchFromGitHub, autoreconfHook, glib, pkg-config }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.3";
|
||||
pname = "libsmf";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/stump/libsmf/archive/${pname}-${version}.tar.gz";
|
||||
sha256 = "1527pcc1vd0l5iks2yw8m0bymcrnih2md5465lwpzw0wgy4rky7n";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "stump";
|
||||
repo = "libsmf";
|
||||
rev = "libsmf-${version}";
|
||||
sha256 = "sha256-OJXJkXvbM2GQNInZXU2ldObquKHhqkdu1zqUDnVZN0Y=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||
|
Loading…
Reference in New Issue
Block a user