Merge pull request #146840 from mkg20001/twup
This commit is contained in:
@@ -15,20 +15,19 @@
|
|||||||
, alsa-lib
|
, alsa-lib
|
||||||
, speex
|
, speex
|
||||||
, ilbc
|
, ilbc
|
||||||
, fetchurl
|
|
||||||
, mkDerivation
|
, mkDerivation
|
||||||
, bcg729
|
, bcg729
|
||||||
}:
|
}:
|
||||||
|
|
||||||
mkDerivation rec {
|
mkDerivation rec {
|
||||||
pname = "twinkle";
|
pname = "twinkle";
|
||||||
version = "1.10.2";
|
version = "unstable-2021-02-06";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
repo = pname;
|
|
||||||
owner = "LubosD";
|
owner = "LubosD";
|
||||||
rev = "v${version}";
|
repo = "twinkle";
|
||||||
sha256 = "0s0gi03xwvzp02ah4q6j33r9jx9nbayr6dxlg2ck9pwbay1nq1hx";
|
rev = "2301b66a3f54b266675415d261985488d86e9e4c";
|
||||||
|
sha256 = "xSwcaj1Hm62iL7C/AxqjVR07VEae8gDgYdr2EWmCoOM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
@@ -46,19 +45,6 @@ mkDerivation rec {
|
|||||||
ilbc
|
ilbc
|
||||||
];
|
];
|
||||||
|
|
||||||
patches = [
|
|
||||||
# patch for bcg729 1.0.2+
|
|
||||||
(fetchurl { # https://github.com/LubosD/twinkle/pull/152
|
|
||||||
url = "https://github.com/LubosD/twinkle/compare/05082ae12051821b1d969e6672d9e4e5afe1bc07...7a6c533cda387652b5b4cb2a867be1a18585890c.patch";
|
|
||||||
sha256 = "39fc6cef3e88cfca8db44612b2d082fb618027b0f99509138d3c0d2777a494c2";
|
|
||||||
})
|
|
||||||
# patch manual link to not link to old url, which now points to NSFW page
|
|
||||||
(fetchurl { # https://github.com/LubosD/twinkle/commit/05082ae12051821b1d969e6672d9e4e5afe1bc07
|
|
||||||
url = "https://github.com/LubosD/twinkle/commit/05082ae12051821b1d969e6672d9e4e5afe1bc07.diff";
|
|
||||||
sha256 = "1iamragr9wp2vczsnp6n261fpr1ai2nc2abp0228jlar9zafksw0";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cmake
|
cmake
|
||||||
bison
|
bison
|
||||||
|
|||||||
Reference in New Issue
Block a user