aptdec: unstable-2022-05-18 -> 1.8.0
This commit is contained in:
parent
00d556255c
commit
53ada23868
|
@ -7,22 +7,18 @@
|
||||||
, libsndfile
|
, libsndfile
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation rec {
|
||||||
pname = "aptdec";
|
pname = "aptdec";
|
||||||
version = "unstable-2022-05-18";
|
version = "1.8.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Xerbo";
|
owner = "Xerbo";
|
||||||
repo = "aptdec";
|
repo = "aptdec";
|
||||||
rev = "b1cc7480732349a7c772124f984b58f4c734c91b";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-Fi9IkZcvqxpmHzqucpCr++37bmTtMy18P4LPznoaYIY=";
|
hash = "sha256-5Pr2PlCPSEIWnThJXKcQEudmxhLJC2sVa9BfAOEKHB4=";
|
||||||
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# fixes https://github.com/Xerbo/aptdec/issues/15
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace CMakeLists.txt --replace "-Werror" ""
|
|
||||||
'';
|
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake pkg-config ];
|
nativeBuildInputs = [ cmake pkg-config ];
|
||||||
buildInputs = [ libpng libsndfile ];
|
buildInputs = [ libpng libsndfile ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue