aptdec: init at 20220518
This commit is contained in:
parent
3d0331112d
commit
5de43b6538
2 changed files with 33 additions and 0 deletions
31
pkgs/development/libraries/aptdec/default.nix
Normal file
31
pkgs/development/libraries/aptdec/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config
|
||||||
|
, libpng, libsndfile
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
pname = "aptdec";
|
||||||
|
version = "unstable-2022-05-18";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "Xerbo";
|
||||||
|
repo = "aptdec";
|
||||||
|
rev = "b1cc7480732349a7c772124f984b58f4c734c91b";
|
||||||
|
sha256 = "sha256-Fi9IkZcvqxpmHzqucpCr++37bmTtMy18P4LPznoaYIY=";
|
||||||
|
};
|
||||||
|
|
||||||
|
# fixes https://github.com/Xerbo/aptdec/issues/15
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace CMakeLists.txt --replace "-Werror" ""
|
||||||
|
'';
|
||||||
|
|
||||||
|
nativeBuildInputs = [ cmake pkg-config ];
|
||||||
|
buildInputs = [ libpng libsndfile ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "NOAA APT satellite imagery decoding library";
|
||||||
|
homepage = "https://github.com/Xerbo/aptdec";
|
||||||
|
license = licenses.gpl2;
|
||||||
|
maintainers = with maintainers; [ alexwinter ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
|
@ -2842,6 +2842,8 @@ with pkgs;
|
||||||
|
|
||||||
apprise = with python3Packages; toPythonApplication apprise;
|
apprise = with python3Packages; toPythonApplication apprise;
|
||||||
|
|
||||||
|
aptdec = callPackage ../development/libraries/aptdec {};
|
||||||
|
|
||||||
aria2 = callPackage ../tools/networking/aria2 {
|
aria2 = callPackage ../tools/networking/aria2 {
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue