mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 12:29:02 +02:00
ladspa-plugins: switch to fetchFromGitHub
This commit is contained in:
parent
221ec72f0e
commit
fb1cc88a08
|
@ -1,18 +1,28 @@
|
|||
{ lib, stdenv, fetchurl, autoreconfHook, automake, fftw, ladspaH, libxml2, pkg-config
|
||||
, perlPackages }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, autoreconfHook
|
||||
, automake
|
||||
, fftw
|
||||
, ladspaH
|
||||
, libxml2
|
||||
, pkg-config
|
||||
, perlPackages
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "swh-plugins";
|
||||
version = "0.4.17";
|
||||
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/swh/ladspa/archive/v${version}.tar.gz";
|
||||
sha256 = "1rqwh8xrw6hnp69dg4gy336bfbfpmbx4fjrk0nb8ypjcxkz91c6i";
|
||||
src = fetchFromGitHub {
|
||||
owner = "swh";
|
||||
repo = "ladspa";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-eOtIhNcuItREUShI8JRlBVKfMfovpdfIYu+m37v4KLE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||
buildInputs = [ fftw ladspaH libxml2 perlPackages.perl perlPackages.XMLParser ];
|
||||
buildInputs = [ fftw ladspaH libxml2 perlPackages.perl perlPackages.XMLParser ];
|
||||
|
||||
patchPhase = ''
|
||||
patchShebangs .
|
||||
|
|
Loading…
Reference in a new issue