mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 11:00:19 +03:00
Merge pull request #171031 from Luflosi/add/decoder
decoder: init at unstable-2021-11-20
This commit is contained in:
commit
47dc4cc796
39
pkgs/tools/security/decoder/default.nix
Normal file
39
pkgs/tools/security/decoder/default.nix
Normal file
@ -0,0 +1,39 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, openssl
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "decoder";
|
||||
version = "unstable-2021-11-20";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "PeterPawn";
|
||||
repo = "decoder";
|
||||
rev = "da0f826629d4e7b873f9d1a39f24c50ff0a68cd2";
|
||||
sha256 = "sha256-1sT1/iwtc2ievmLuNuooy9b14pTs1ZC5noDwzFelk7w=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
openssl
|
||||
];
|
||||
|
||||
makeFlags = [ "OPENSSL=y" ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm755 src/decoder "$out/bin/decoder"
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/PeterPawn/decoder";
|
||||
description = ''"secrets" decoding for FRITZ!OS devices'';
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ Luflosi ];
|
||||
};
|
||||
}
|
@ -7130,6 +7130,8 @@ with pkgs;
|
||||
|
||||
deco = callPackage ../applications/misc/deco { };
|
||||
|
||||
decoder = callPackage ../tools/security/decoder { };
|
||||
|
||||
icoutils = callPackage ../tools/graphics/icoutils { };
|
||||
|
||||
idutils = callPackage ../tools/misc/idutils { };
|
||||
|
Loading…
Reference in New Issue
Block a user