aptdec: unstable-2022-05-18 -> 1.8.0

This commit is contained in:
Tungsten842 2023-04-15 14:09:05 +02:00
parent 00d556255c
commit 53ada23868

View file

@ -7,22 +7,18 @@
, libsndfile
}:
stdenv.mkDerivation {
stdenv.mkDerivation rec {
pname = "aptdec";
version = "unstable-2022-05-18";
version = "1.8.0";
src = fetchFromGitHub {
owner = "Xerbo";
repo = "aptdec";
rev = "b1cc7480732349a7c772124f984b58f4c734c91b";
sha256 = "sha256-Fi9IkZcvqxpmHzqucpCr++37bmTtMy18P4LPznoaYIY=";
rev = "v${version}";
hash = "sha256-5Pr2PlCPSEIWnThJXKcQEudmxhLJC2sVa9BfAOEKHB4=";
fetchSubmodules = true;
};
# fixes https://github.com/Xerbo/aptdec/issues/15
postPatch = ''
substituteInPlace CMakeLists.txt --replace "-Werror" ""
'';
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ libpng libsndfile ];